Providers
Instagram follower counts come from an Instagram professional account connected to a Facebook Page. The Meta account used to connect must be able to manage that Page.
- Create or choose a Meta developer app with Facebook Login and access to the Instagram API.
- Confirm that the Instagram professional account is linked to a Facebook Page managed by the account that will complete the connection.
- Open Settings → Social Share → Providers → Instagram in the Craft control panel.
- Add the displayed Redirect URI to the app's valid OAuth redirect URIs in Meta.
- Store the Meta app's Client ID and Client Secret in environment variables, then select those variables in the corresponding Social Share fields.
- Save the provider and select Connect.
- Complete the authorisation using the Meta account that manages the linked Facebook Page.
Social Share requests the connected account's Pages and uses the first Page with a linked Instagram business account. Calls to craft.socialShare.getFollowers('instagram', account) return that Instagram account's follower count. The required account argument is retained for compatibility and does not select another account.
Last updated: Oct 6, 2026, 8:11:38 AM