skip to Main Content

I am trying to fetch Instagram profile(id,name,email, e.t.c) through Facebook using the Facebook Graph API endpoint https://graph.facebook.com/v17.0/me/accounts?fields=instagram_business_account on the Graph Explorer tool but it is returning an empty array.

The Instagram is a business account and has already been connected to the Facebook page.

I am using the permissions below to make the call:
public_profile, pages_show_list, pages_read_engagement, instagram_basic

What more do i need to do?

2

Answers


  1. A few weeks ago graph api had this issue on accounts node (see here).
    I myself noticed it on my production app.
    At that point i started using v16.0 to bypass the issue, but sounds like they fixed it and I was able to go back to v18.0 again.

    Anyway, Double check users token.

    Try the Debug Token endpoint (graph.facebook.com/debug_token?access_token=[YourAppAdminToken]&input_token=[UsersToken]) and check the "instagram_basic" permission under pages granular scope.

    Login or Signup to reply.
  2. I faced the same issue in our application and it turns out that according to changelogs (https://developers.facebook.com/docs/graph-api/changelog/version17.0) your app now needs business_management permission to use this endpoint.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search