9
votes

I am trying to get our users Facebook Pages with connected Instagram Business Accounts using the API:

https://graph.facebook.com/v2.7/me/accounts?fields=id,name,connected_instagram_account{ig_id,name}&limit=20 

For some pages, I did not get the connected Instagram Accounts.

We have tried to set up again (ie. by removing the linked facebook page and then link it from Instagram Settings), but I am not able to get the connected instagram accounts info yet.

Can anyone help me to resolve this?

2
hard to say for third party developers. you may need to file a bug.andyrandy

2 Answers

2
votes

Prerequisite: You first need the business Instagram account to be linked with Facebook Page. https://help.instagram.com/356902681064399 - That one can do from the profile page of Instagram account.

Currently, for FaceBook graph API we need a linked business page to Instagram account. As above APIs uses page tokens.

Please Look into this

0
votes

I had the same issue. Resolved it by following these steps :

  1. Unlink your account from Facebook page.
  2. Go to your Instagram app and login to your account.
  3. Go to the settings page.
  4. Scroll down to Business Settings and find "Switch back to personal account" and click on that.

Note : On Doing so, you will lose your media insights.

  1. Again setup your business profile for Instagram.
  2. Come back to facebook business page and link your Instagram account.

  3. Use the Graph API Explorer to get instagram_bussiness_account

Detailed answer here : Instagram Graph API