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
Answers
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
I had the same issue.
Resolved it by following these steps :
Come back to facebook business page and link your Instagram account.
Use the Graph API Explorer to get instagram_bussiness_account
Detailed answer here : Instagram Graph API