开发者

Facebook page insights via API

开发者 https://www.devze.com 2023-01-20 08:18 出处:网络
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 something similar for Faceboo

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 something similar for Facebook pages.开发者_如何转开发 Am I missing something?

Specifically, I am looking for stats such as total users, active users, posts, etc, preferrably over time as well.


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).


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

精彩评论

暂无评论...
验证码 换一张
取 消