views:

239

answers:

1

Hi,

I'm building an app using facebook likes, under GAE with python.

I'd like do different actions if user likes the page or not:

page_url=url
if user likes page_url:
   #do something
else:
    #do something else

I'm interested in checking if the user already likes the page, not in the action of clicking the like button.

Also I'd like to do this without requiring facebook connect.

Thanks!

+1  A: 

Use GraphApi "me/likes" with the authenticated user, then search through the results and search for you your app / page id.

Patrick Gidich