What is the difference between a Facebook Page “Like” and an external URL “Like”? And will the “user_likes” permission scope give access to both?

前端 未结 2 1723
误落风尘
误落风尘 2021-01-31 23:07

I\'d like to pull a list of all Facebook \"Likes\" for a user, whether they are Facebook pages or external URLs.

Example:

If you \"Like\" the Facebook Platform,

2条回答
  •  遇见更好的自我
    2021-01-31 23:40

    Facebook now has two ways to read likes. If you would like to get the likes of an external URL you try this:

    http://graph.facebook.com/me/og.likes/[ID_FACEBOOKOBJECT]
    

    And if you wish get the likes from an internal Facebook page (fan page,profile,photo like) try this:

    http://graph.facebook.com/me/likes/[ID_FACEBOOKOBJECT]
    

    Checkout: https://developers.facebook.com/tools/explorer

提交回复
热议问题