Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Instagram Insight Metrics with Facebook Graph API

I am trying to use the Facebook Graph API to GET Instagram metrics such as post impressions. I was able to successfully pull my Instagram Follow Count by using this query

{instagram_user_id}?fields=follow_count

When I try to query my post impressions with

{instagram-media-id}/insights?fields=post_impressions

nothing shows up. Am I missing something or have I possibly not requested the correct permissions?

I am trying to follow the documentation at the below link. Is it even possible to pull the impressions through the Facebook Graph API?

https://developers.facebook.com/docs/graph-api/reference/instagram-media/insights/

Thanks!

like image 329
Krowdspace Avatar asked May 18 '17 03:05

Krowdspace


People also ask

Can I get Instagram Insights from Facebook?

Facebook's Instagram will finally get Insights for Reels Through the latest update, the Facebook-owned app is also introducing detailed information about Reach through a new tab in Account Insights.

How do I get Facebook Page Insights on graph API?

You can access Page Insights by typing /insights after the name of your page in the URL field. This command will retrieve all of the Insights associated with your Page. Type "/insights" after your company name. Click the Submit button.

How do you check your Instagram graph API?

Go to your app and click the facebook login with the scope "instagram_basic". With the access_token that you get you are able to ask Graph API about the user's instagram business account. Et voilà.


1 Answers

I believe that it wasn't possible to pull insights using the older version of the API.

However now it is possible as instagram / facebook just released a new version of their Graph API that includes insights. The request would be:

v2.10/{instagram_media_id}/insights?metric=impressions

The new documentation can be found here

like image 166
Scott Buckstaff Avatar answered Sep 28 '22 15:09

Scott Buckstaff