Is there anyway I can get impressions and enganements of any page on facebook from resrFB API.
Asked
Active
Viewed 475 times
1 Answers
1
You need to use /insights
endpoint (they call it edge
) of Graph API to get the data, here is the documentation.
For impressions, your metrics would be page_impressions_unique
, page_impressions_paid_unique
and page_impressions_organic_unique
.
For Engagaments, your metrics would be page_engaged_users
and page_post_engagements
.
You will need an access token to use the Graph API. Here's some more documentation on general usage.

Darshan Mehta
- 30,102
- 11
- 68
- 102
-
Thanks Darshan, I have tried that but not getting any impressions. I have tried in both way from FB Graph api and also restFB. only likes are coming here is the code FETCHING INSIGHTS at [restFB](http://restfb.com/documentation/) – developer Jun 28 '17 at 08:39
-
You need to check your access token in FB's access token debugger tool and make sure you have `manage_pages` access to that page. Otherwise FB won't return anything. – Darshan Mehta Jun 28 '17 at 08:42