Link to home
Start Free TrialLog in
Avatar of detox1978
detox1978Flag for United Kingdom of Great Britain and Northern Ireland

asked on

Facebook API

Hi All,

Is it possible to get the facebook like information using the API?

In particular the movies


Thanks in adv
Avatar of wmadrid1
wmadrid1
Flag of Colombia image

Avatar of detox1978

ASKER

Yeah i saw that post which is what prompted me to ask can you get the movie likes.

In that example you can only access users after they have users accept the application.  But there are millions who have the likes on public display.
I saw this post which used SQL and the response said you can access Movies;

http://stackoverflow.com/questions/6528850/get-all-of-a-users-likes-all-of-them-with-fql
ASKER CERTIFIED SOLUTION
Avatar of gattytto
gattytto

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I've never used the facebook API or FQL.  so will need more help getting that to work.
Done a bit of reading up on it and i can access my friend movie likes via;


https://graph.facebook.com/ user_id /movies?access_token=


but cant access public profiles this way.  Any suggestions on how to access the public profiles?
Bit more digging and i can access my and my friends movies via;

https://api.facebook.com/method/fql.query?format=XML&access_token=myToken&query=SELECT page_id FROM page_fan WHERE uid=%user_id%

Is there a way to change it so i can see public movie likes?
thanks for the information provided.