Analyze Facebook Pages via API

I would like to access Facebook page information through the API. It is very good to get information about the Facebook application through the graphical API, but I can not find something like this for Facebook pages. Did I miss something?

In particular, I am looking for statistics such as general users, active users, messages, etc., preferably over time.

0
source share
2 answers

Insightsthe docs table indicates that you can get metrics for all pages owned by a registered user after requesting read_insightsadvanced permission. I think after this graph should work ( /<page_id>/insights?access_token=...). If not, then you probably have to use FQL (they have an example in the docs for getting page metrics).

+1
source

The trailing slash breaks this query. If you delete it, you will see information if the permissions are correct, or "Only administrators of applications, pages and domains can retrieve Insights" if not.

0
source

Source: https://habr.com/ru/post/1745049/


All Articles