We are unable to list business pages for the instagram account in some cases.
The endpoint we are using is: /me/accounts to this the business pages.
We use facebook login to access the instagram account, this makes it a requirement for our users to create a facebook business page that is linked to the instagram account.
As there are multiple options offered by Meta to make the linking, there are that many possibilities of our users to perform this action. Regardless of how the linking may have been done, we would like to GET a response from the Graph API endpoint for getting pages / accounts to return all associated business accounts that have been granted access to our app.
We have ensured passing in the appropriate access scopes as required by the API to return a response. These include - email pages_show_list pages_read_engagement pages_read_user_content business_management instagram_basic instagram_manage_insights.
Even after using the highly recommended business_management scope, we have user accounts where we are unable to get any response from API. The API does not throw any error, it simply returns an empty array - suggesting there are no associated business pages. But this is not the case.
To further solve the problem, we have also ensured the right access from the user on their own accounts and pages - this can also be confirmed when Meta is requesting the user for permissions for our app to access the user’s pages / accounts. After the user has granted permission, we request for the pages using the corresponding endpoint from the API but are returned with an empty array.
Any suggestions would be much appreciated.

Tag:-

Add a new comment.