Facebook “Reviews” Tab Data — Where is it stored in Graph API and how to access it?

左心房为你撑大大i 提交于 2019-12-29 06:24:24

问题


I'm totally stumped here. I'm trying to get access to the data that appears under the reviews tab in the Facebook Page http://facebook.com/freemanfoxx (Page ID=149530265092626).

I've figured out that all data in a Facebook profile can be retrieved as JSON using the Graph API but I'm totally stumped about the data populated on the "Reviews" tab. It appears to be it's own Application separate from the Facebook core and this is probably why I'm lost.

Any leads/tips/experts out there? Here are some of the links I've been searching for Help.

developers.facebook.com/docs/api
developers.facebook.com/docs/reference/api/
developers.facebook.com/docs/reference/api/application/

My overall goal is to take this data into Yahoo! Pipes and then combine it with data from a Google Form to create an RSS feed to be output to a webpage I'm building.

Your thoughts and help would be GREATLY appreciated!

Ryan


回答1:


Let's say your reviews tab on the facebook page is: http://www.facebook.com/easyinspection?sk=app_6261817190.

6261817190 is the application id (not page id), and that is what you will be using next. You can get all reviews by a request to:

http://graph.facebook.com/6261817190/reviews. If you do not want to go page by page, retrieving 25 reviews at a time (take a look at next page url), you can get it all in a single request, like this:

http://graph.facebook.com/6261817190/reviews?limit=100000000&offset=0




回答2:


There is no API for this data. Your only chance will be a web page crawl ov your reviews and grab the content from there.



来源:https://stackoverflow.com/questions/4541368/facebook-reviews-tab-data-where-is-it-stored-in-graph-api-and-how-to-access

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!