9

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?

Marco Altieri
  • 3,726
  • 2
  • 33
  • 47
Jinu Santh Rose
  • 323
  • 3
  • 15

2 Answers2

3

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

Hitesh Anshani
  • 1,499
  • 9
  • 19
  • Hi D-john Anshani, I already have linked the Business Account with a Facebook Page while converting the personal profile to business profile and also I tried to unlink the page and link the same again to make sure that the page is linked properly with the Instagram business account(for some users, we tried this and it worked out well). – Jinu Santh Rose Jul 20 '18 at 05:31
0

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

Harshil Shah
  • 123
  • 5
  • OP already said *we have tried to set up again ie. by removing the linked facebook page and then link it from Instagram Settings)*. – colidyre Sep 07 '18 at 09:47
  • Removing linked Facebook page and converting Instagram profile to personal. Not linking from there, as I mentioned in the answer too. In Instagram settings you will find the option "Switch back to personal account".. You will have to use that .. and then again setup a business profile for Instagram and then relink with your Facebook page. – Harshil Shah Sep 07 '18 at 10:13
  • can you make it clearer in your answer what the difference is to already given answer? – colidyre Sep 07 '18 at 10:50
  • Hey @colidyre have done so, did not care to elaborate much previously as I had given a link to detailed answer there. – Harshil Shah Sep 07 '18 at 11:24
  • I had this not working and the reset fixed it but i created a new business account instead of converting an existing one maybe that's why it worked. – zavr Dec 10 '18 at 15:33