部分中斷share-external
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
已發問 約 5 個月前
已選擇的答案
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.

6月19日 12:02
Krystian