Facebook page insights via API

后端 未结 2 1119
予麋鹿
予麋鹿 2021-01-26 11:36

I would like to access the insights of a Facebook page via the API. It is very well possible to obtain the insights of a Facebook app via the graph API, but I cannot find someth

相关标签:
2条回答
  • 2021-01-26 12:14

    The trailing slash is breaking this query. If you remove it you will see insights if permissions are correct, or "Only administrators of applications, pages, and domains can retrieve Insights" if not.

    0 讨论(0)
  • 2021-01-26 12:22

    Insights table docs say it is possible to retrieve metrics for all pages that are owned by currently logged in user after requesting read_insights extended permission. I think after that graph insights should work (/<page_id>/insights?access_token=...). If not then you probably need to use FQL (they have example in docs for getting page metrics).

    0 讨论(0)
提交回复
热议问题