Empty Data Response from Facebook Graph API for Account Details Despite Correct Token Permissions.
1

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.

Yns
Enviada hace 3 meses aproximadamente
Respuesta seleccionada
1

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.

19 de junio a las 12:02
Krystian