With the recent deprecation of some of the Instagram API Endpoints as mentioned here , customers have been trying to connect to the Instagram Graph API. This is a quick tutorial to help you get started if you're still struggling to figure that out. Note that in order for you to access the data via the Instagram Graph API you need to have a Business Instagram Account as well as a Facebook Page linked to that account. You also need to have a role on that Facebook Page.
If you have those out of the way, here are the next steps to get started:
Instagram Business Account ID
The first thing you need is to find your Instagram Business Account ID - to do this you need your Facebook Page ID that you can find under the About section of your page:
Once you have the Page ID, you will need to run this query using the Facebook Connector to get the Business Account ID:
https://graph.facebook.com/{PAGE ID}?fields=instagram_business_account
Simply replace the {Page ID} with your page ID. When you have run this you should see your Business Account ID as highlighted below:
Using your Instagram Business Account ID
You can now use this ID to run the queries outlined in the documentation. You will need to use the Facebook Connector to create your custom query. You will be prompted to update your permissions to enable you to bring in your Instagram Business Account insights so you'll need to accept that.
Here are some sample queries:
https://graph.facebook.com/{Business Account ID}?fields=business_discovery.username({Instagram Name}){followers_count,media_count,media}
https://graph.facebook.com/{Business Account ID}/insights?metric=impressions,reach,profile_views&period=day