Facebook Insights provides developers and Page owners with metrics about their content.
Questions tagged [facebook-insights]
424 questions
35
votes
1 answer
Looking for the Type details for page_stories_by_story_type & page_consumptions_by_consumption_type
We are pulling page stats for page_stories_by_story_type & page_consumptions_by_consumption_type. I am looking for some confirmation and insight for the below Types.
We believe we have been able to determine a few of these but some we are not sure…

TJ Crawford
- 351
- 2
- 3
17
votes
5 answers
The app ID specified within the "fb:app_id" meta tag was invalid
I tried to enable Facebook Insights for my web. I added my page's APP_ID to fb:admins to enable every admin of my page to access Insights when logged into Facebook as Page. But when I try to save the dialog message appears:
The app ID…

Tomáš Fejfar
- 11,129
- 8
- 54
- 82
16
votes
4 answers
The parameter 'custom_events' or 'custom_events_file' is required for the 'CUSTOM_APP_EVENTS' activity
Upon upgrading from the Facebook iOS SDK version 3.7.1 to 3.8, I started seeing the following in my console log when authenticating with my app through Facebook:
FBSDKLog: Error Domain=com.facebook.sdk Code=5 "The operation couldn’t be completed.…

mon4goos
- 1,569
- 13
- 24
14
votes
2 answers
Facebook Graph API insights
I'm new on working with Facebook and honestly I found it very confusing, terminology and documentation seems to be very ambiguous in many cases. Can somebody please help me out with a plain english explanation on how I can achive the…

Emil Borconi
- 3,326
- 2
- 24
- 40
11
votes
3 answers
Facebook Graph API (#190) This method must be called with a Page Access Token
I get data from the Facebook insights via Facebook Graph API more than year. And recently started all my requests (like {id}/insights) to return with an error: (#190) This method must be called with a Page Access Token.
But the Access token…

Valeri
- 327
- 1
- 5
- 15
11
votes
3 answers
Facebook Marketing API - Python to get Insights - User Request Limit Reached
So I am trying my best to navigate my way through the Facebook API. I need to crate a script that will download my business' campaign information daily as a csv file so I can use another script to upload the information to our database easily.
I…

LucyTurtle
- 1,043
- 1
- 17
- 37
9
votes
0 answers
How can I get Insights data for Instagram Media posts
I have tried all possibilities to get insights for a media post posted in instagram.
That's the post which I am trying to get insights for-
https://api.instagram.com/oembed/?url=https://www.instagram.com/p/BUs4jxfAtIs/
Clearly endpoints provided…

Vaibhav Tekam
- 2,344
- 3
- 18
- 27
9
votes
1 answer
How to measure my app Facebook shares traffic? (non conventional)
Background
I have an web app that enables its users to share individual items (posts) on Facebook. I set up a Facebook App to have a API key to do that with the Javascript SDK. It works well and I see the sharing stats in the Facebook App…

Pandaiolo
- 11,165
- 5
- 38
- 70
9
votes
3 answers
Use time range in Ad Insights of Facebook Marketing API
I'm trying to obtain impressions of my ads between two dates
I'm using Graph API Explorer with this path:
act_0123456789/ads?fields=insights{ad_id,ad_name,impressions}
I want to use 'time_range' attribute that we can find it in Marketing API…

David
- 503
- 3
- 7
- 18
9
votes
5 answers
how to get insights for all campaigns in single query + Facebook marketing api
I want to write query in Python, I want all campaigns performance details in single request.
how to convert below graph api request in Python Query?
//act_/campaigns?fields=insights.fields(actions_results)
I'd tried using below…

Mitul Shah
- 1,556
- 1
- 12
- 34
8
votes
1 answer
Ideal solution to deprecated use of fb:page_id to claim a domain
I have been asked to claim a domain for a brand. We used to do this by using
This would automatically give admins of the relevant Facebook page access to the domain insights. Facebook will no…

Christopher Hackett
- 6,042
- 2
- 31
- 41
7
votes
1 answer
Facebook Insights API - getting error code 1 with subcode 99
We are retrieving Insights data via the Facebook Marketing API. We are using the Python "facebookads" module for this. I was downloading historic data in the past for all of our accounts which was working perfectly fine. Since 2 weeks or so I am…

stack_lech
- 990
- 2
- 10
- 28
7
votes
2 answers
How to further filter Facebook Graph API query on Graph API Explorer for my ad account?
I'm trying to get the ad spend and mobile app installs for my app using the Facebook Graph API v2.11 for marketing. In the Graph API Explorer, when I try
/act_

muds
- 518
- 1
- 3
- 13
7
votes
2 answers
How to retrieve all my active Facebook ads?
I'm creating a dashboard for myself that helps me keep track of the Facebook ads I'm running.
What I've not been able to figure out is:
How can I retrieve an array of ad IDs for all ads that are active or could soon be active after no further action…

Ryan
- 22,332
- 31
- 176
- 357
7
votes
4 answers
How to get insights on a Facebook fan page without user login
I'm trying to figure out how to get the total number of comments, posts, likes and fans for any given Facebook fan page and date range using the Facebook API's. I need to be able to do this without the user having to log into Facebook to give the…

MakkyNZ
- 2,215
- 5
- 33
- 53