开发者

Fetching Facebook "likes" data from a user's profile using old rest api

Is it possible to fetch the "likes" data from a user's profile using the old rest api ? Specifically开发者_如何学运维 FB has launched this new "Likes" feature recently, where a user can Like a page, etc. This information is visible under the "interests and likes" section of the Info page of a user. I am looking for a way to fetch this information using the old rest api. Is there a field in user.getInfo that I can query on that will return this information ?


Short Answer: No

Long Answer: Nooooooooooooooooooooo


Getting a users likes is not possible using the old REST API. You can continue making all your existing API calls using the old API, and just use the graph for likes.


I'd recommend using the Graph API to do this: http://developers.facebook.com/docs/reference/api/user -- basically fetching /me/likes. It's much more natural than our older API. If you need advanced use, then you can query the page_fan FQL table: http://developers.facebook.com/docs/reference/fql/page_fan.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜