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?
Web Applications Stack Exchange is a question and answer site for power users of web applications. It only takes a minute to sign up.
Sign up to join this communityYou 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
and then underneath this it will then return a list of Links that you have liked.
You must be logged in to Facebook in order for this to work.
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()