Theodor
Theodor

Reputation: 165

Open Graph insights for specific post

We have a Facebook Application with custom Open Graph objects and actions.

We then use a App Access Token to post stories for a particular user from our backend with the normal Open Graph REST API. After the post-call succeeds we log the returned "id" of that post.

Now we would like to collect insight data (e.g. post_impressions_unique) for some of these individual posts/stories using the logged id's.

According to https://developers.facebook.com/blog/post/573/ we should be able to do something like:

https://graph.facebook.com/[POST ID]/insights

Even though this call seems to work using our normal App Access Token, no insight data is returned for the post/story.

Does anyone know if this is possible and how to do it?

We have been experimenting with a normal User Access Token and the "read_insights" permissions, but with no luck. I have read some similar questions but mainly regarding page-posts (this is an App Open Graph post/story).

EDIT: The facebook article above only refers to "Page" posts. I'm looking for analytics on individual Facebook App Opengraph Posts/stories. It seems difficult to find any good information about this, has nobody attempted this with any success?

Upvotes: 0

Views: 624

Answers (1)

d.danailov
d.danailov

Reputation: 9810

enter image description here

You must add insights into a permissions/Extended permissions

Article :

Getting Page Insights

In order to obtain Page Insights via the Graph API, you must use a Page access token, and you must have the read_insights permission. Click on the link below to see this working in the Graph API Explorer.

Upvotes: 1

Related Questions