Using the page access token for your page (with read_insights
Permission ).
You can then access /POST_ID/insights
to get information about it.
For a sample post on my page, this returns the impression data for the post. Excerpts:
{ "id": "[ID REMOVED]/insights/post_story_adds_by_action_type/lifetime", "name": "post_story_adds_by_action_type", "period": "lifetime", "values": [ { "value": { "like": 20, "comment": 3, "share": 1 } } ], "title": "Lifetime Post Stories by action type", "description": "Lifetime The number of stories created about your Page post, by action type. (Total Count)" }, { "id": "[ID REMOVED]/insights/post_impressions_unique/lifetime", "name": "post_impressions_unique", "period": "lifetime", "values": [ { "value": 936 } ], "title": "Lifetime Post Total Reach", "description": "Lifetime The number of people who saw your Page post. (Unique Users)" }, { "id": "[ID REMOVED]/insights/post_impressions/lifetime", "name": "post_impressions", "period": "lifetime", "values": [ { "value": 2936 } ], "title": "Lifetime Post Total Impressions", "description": "Lifetime The number of impressions of your Page post. (Total Count)" },
A blog post from its launch is here: https://developers.facebook.com/blog/post/573/ The insights
connection is mentioned in the documentation for publication
source share