Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Yes, user_likes will give you access to both.</p> <p>You can access external <em>likes</em> as you wish through the <a href="http://en.wikipedia.org/wiki/Facebook_Platform#Graph_API" rel="nofollow">Graph API</a> endpoint <code>/me/likes</code>, as long as they're not articles. Objects with type "article" do not represent real-world objects and as such, we don't provide on a person's profile. We mention this (albeit obscurely) on the <a href="http://en.wikipedia.org/wiki/Facebook_Platform#Open_Graph_protocol" rel="nofollow">Open Graph</a> documentation page: <a href="https://developers.facebook.com/docs/opengraph/#types" rel="nofollow">https://developers.facebook.com/docs/opengraph/#types</a></p> <p>So if you go to my fake movie object page at</p> <p><a href="http://fbsb.hoodlu.ms/so_7436857/video2.html" rel="nofollow">http://fbsb.hoodlu.ms/so_7436857/video2.html</a></p> <p>and click like, that will show up when you access your <em>likes</em> on <a href="https://graph.facebook.com/me/likes" rel="nofollow">https://graph.facebook.com/me/likes</a>.</p> <p>Try it using the Graph API explorer:</p> <p><a href="https://developers.facebook.com/tools/explorer/?method=GET&amp;path=me%2Flikes" rel="nofollow">https://developers.facebook.com/tools/explorer/?method=GET&amp;path=me%2Flikes</a></p> <p>If you want the URLs that someone has liked, use this <a href="http://en.wikipedia.org/wiki/Facebook_Query_Language" rel="nofollow">FQL</a> query:</p> <pre class="lang-sql prettyprint-override"><code>SELECT url FROM url_like WHERE user_id = me() </code></pre> <p>More information is available at <a href="https://developers.facebook.com/docs/reference/fql/url_like/" rel="nofollow">https://developers.facebook.com/docs/reference/fql/url_like/</a>.</p> <p>If you want to access the <em>likes</em> from a post, photo, video, etc. you'll need to use the <code>like</code> and <code>stream</code> FQL tables. To just pull out the likes (of posts/photos/videos) for the current user:</p> <pre class="lang-sql prettyprint-override"><code>SELECT user_id, object_id, post_id FROM like WHERE user_id=me() </code></pre> <p>From there, you would query the <code>stream</code> table for the post to get more information.</p> <p><code>like</code> table documentation: <a href="https://developers.facebook.com/docs/reference/fql/like/" rel="nofollow">https://developers.facebook.com/docs/reference/fql/like/</a>.</p> <p><code>stream</code> table documentation: <a href="https://developers.facebook.com/docs/reference/fql/stream/" rel="nofollow">https://developers.facebook.com/docs/reference/fql/stream/</a></p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload