7

I'm testing the Like button out, and I'd like to check which 'Likes' have been recorded against a Facebook account.

How do I view a full list of URLs that I've previously Liked?

3 Answers 3

5

You can get a list of URLs that you have "liked" by using the Developer APIs

You will need to use the fql.multiquery method in the Facebook Query Language.

Enter this query exactly as is in to the queries text box in the test console:

{"query1":"SELECT object_id FROM like WHERE user_id = me()","query2":"SELECT title, summary, url FROM link WHERE link_id in (SELECT object_id FROM #query1)"}

The multiquery method is very particular about whitespace.

This will return a list of all objects that you have liked alt text

and then underneath this it will then return a list of Links that you have liked. alt text

You must be logged in to Facebook in order for this to work.

2
  • It says "Your statement is not indexable. The WHERE clause must contain an indexable column." :-(
    – nic
    Mar 7, 2011 at 9:20
  • The list you get back from the "like" table is only partial. If you look carefully at the actual feed on your page, you'll see any "like" you made outside of facebook is NOT returned. ARGH.
    – Roie Cohen
    Jun 1, 2011 at 22:48
0

When you "like" an external URL (e.g. via a facebook plugin), it seems to store it somewhere else (the url_like table rather than the like table). I was able to get the results for this using the FQL below:

SELECT url FROM url_like WHERE user_id = me()
0

Go to your Activity Log and select Likes

Likes Filter

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.