0

I am building an app, which lists all posts from a Page(that I manage and post to) and also gets corresponding posts view count. I looked into the documentation and it seems like the page needs a minimum of 30 Likes for insights API to work. Is this correct? Is there a way I can get the view count?

Here is the output from Graph Explorer. I have set the access token to Page Access token.

enter image description here

I am passing the Post_ID to HTTP GET. I can see directly from Facebook that the post has reached N number of people. But the returned data from the API call is empty. Any help?

G3M
  • 1,023
  • 8
  • 19
  • 1
    For part one, why don't you try and see if it works. For part two, there are ample examples on Facebook's own page. If you are having problems implementing what is written there ([`post_impressions`](https://developers.facebook.com/docs/graph-api/reference/v2.3/insights#availmetrics) seems to be what you are after), please post some code for us to review. – Ken Y-N Aug 01 '16 at 06:35
  • @KenY-N I have updated with more information – G3M Aug 01 '16 at 18:21
  • 1
    Do you need a `?period=day/week/day_28` at the end of the URL? (I don't have an account handy to verify right now) – Ken Y-N Aug 01 '16 at 23:45
  • I tried that too. Result is the same. – G3M Aug 02 '16 at 01:44
  • Your page does have more than 30 likes? I would expect an error to be returned if not, though. Otherwise I cannot really help, but [what about this](https://stackoverflow.com/questions/9365063/is-facebook-insights-using-graph-api-working-right-now)? – Ken Y-N Aug 02 '16 at 02:10

0 Answers0