Hello ,
We are facing an issue with our Facebook integration using the Graph API. When we try to retrieve account details, we receive an empty array of data.
We have verified that the token has the correct permissions (pages_show_list, pages_read_engagement, pages_manage_posts, public_profile) , but we still get an empty data { "data": [] } when calling: https://graph.facebook.com/v14.0/me/accounts?access_token={TOKEN} or https://graph.facebook.com/v14.0/{FBUserID}/accounts?access_token={TOKEN}
Could you help us understand why we are receiving empty data and how to resolve this issue? Any advice, insights, or similar experiences would be appreciated.
Thank you.
I had this problem in the past. Asking for business_management permission solved the issue for me. Have a look here: https://developers.facebook.com/docs/graph-api/reference/user/accounts/
To access accounts using a business_id or for a user who owns any business Pages, the app must be approved for the business_management permission.