A
A
Alena Lepilina2013-12-16 13:04:18
Facebook
Alena Lepilina, 2013-12-16 13:04:18

How to get fb page statistics via Facebook API?

I have an online store and its fb page. I can’t find methods in the documentation to get statistics via the API (the number of users who like the page, who shared posts, etc.).

Answer the question

In order to leave comments, you need to log in

2 answer(s)
Z
zarincheg, 2013-12-16
@Smilet

Well, here's the manual: https://developers.facebook.com/docs/graph-api/ref...
In general, to get detailed information about your page, you need to get and use its own token, that is, log in on behalf of pages.

I
Ivan Nesterovich, 2013-12-16
@vanderv

https://api.facebook.com/method/links.getStats?urls=%%URL%%&format=json

The response will be json like:
[{"url":"URL","normalized_url":"URL","share_count":1,"like_count":0,"comment_count":0,"total_count":1,"click_count":0,"comments_fbid":id,"commentsbox_count":0}]

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question