Joe Bergevin
Joe Bergevin

Reputation: 3268

Get page_impressions from Facebook API

Using the Graph API Explorer, I am trying to obtain the page_impressions metric (as described in the Facebook API Insights Documentation) for one of my pages. The actual value that I am looking for is the "Weekly Total Reach" number, found on the Facebook Insights page (https://www.facebook.com/userID?sk=page_insights).


What I've tried under Graph API:

What I've tried under FQL Query:


This same question (or very similar) has been asked a few times on stackoverflow, but I could not find an answer.

Upvotes: 0

Views: 2464

Answers (1)

Joe Bergevin
Joe Bergevin

Reputation: 3268

Turned out I was really just having issues with my Auth Token. When I used the following Graph API call it worked just fine:

/[pageId]/insights (thanks to Oleg, for the correction on pageId)

This gave me all the info I needed, including the page_impressions. And if I wanted just the page_impressions data:

/[pageId]/insights/page_impressions

Upvotes: 0

Related Questions