I'm trying to access the media of my Instagram business account through Facebook Graph API. I'm following this guide: https://developers.facebook.com/docs/instagram-api/getting-started/
I've set up everything as requested: I have an Instagram business account, a Facebook page connected to this account and a Facebook app.
In step 5, when I try to get the Instagram Account ID with
GET /v3.0/{page id}?fields=instagram_business_account
the response I get looks different than the one in the guide. The Instagram business account field is missing, I only get back the ID of the Facebook page, which I already have.
Does anyone have an idea what could be wrong here?
You can easily get your Facebook Page ID by checking on your Facebook Business Page and looking at the bottom part of the ‘About’ tab. Now, let’s add Instagram Graph API to your App. You can easily select Instagram Graph API, then click Set Up. You can read more about Instagram Graph API here.
Follow the following steps to get the Instagram business ID. (assuming that you already have an access token) Step 1: Get the Facebook ID first [ GET v11.0/me?access_token={your_access_token} ] { "name": "your facebook page name", "id": "facebook_page_id" }
The API is built on the Facebook Graph API. If you are unfamiliar with the Facebook Graph API, please read our Facebook Graph API documentation to learn how it works before proceeding. The API cannot access Instagram consumer accounts (i.e., non-Business or non-Creator Instagram accounts).
The API cannot access Instagram consumer accounts (i.e., non-Business or non-Creator Instagram accounts). If you are building an app for consumer users, use the Instagram Basic Display API instead. Content Publishing is only available to Instagram Business Users. Reels are not supported.
Try the query below with the manage_pages
permission.
/v3.0/me/accounts?fields=name,id,access_token,instagram_business_account{id,username,profile_picture_url}
I'm going through the review process and having trouble understand the permissions required to
I only manage to get 1. by having the manage_pages
permission. But I don't want to manage pages, just want to get the Instagram Business Accounts and request insights, feed and profile.
For 2. I only find the /subscribe
endpoint and that requires a Facebook Page access token and that is only available with the manage_pages
permission.
I was facing this issue since last 2 days and it was started suddenly.
I was able to resolve this issue by doing below steps.
Important: We need to convert personal account to business account through the only facebook.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With