Search code examples
phpfacebookfacebook-graph-api

facebook graphs api - How to access reviews from public page


I've seen quite a few solutions regarding accessing one's own reviews via the facebook graph api. However, my question was whether or not it was possible to access other reviews.

I basically want to access reviews for public businesses. Seeing as these reviews appear publicly on facebook, I figured this would be an easy task. However, I'm currently unable to find a way to do it: it asks for a page access token, which AFAIK only allows one access to their own page data.

Am I wrong here? Can I do what I plan to, or is it impossible as I am starting to believe it is?

Thanks in advance.


Solution

  • You need a Page Access Token to request the

    /{page_id}/ratings 
    

    endpoint. It's all in the docs:

    A page access token is required to retrieve this data.