php - Check if a user likes my page via website -


how check if user logged in website via facebook php sdk has liked page can show him secret content...

if have appropriate permissions can access likes property of user: can check returned list see if url in list. can use this:

$likes = facebook::api('/me/likes','get'); 

Comments

Popular posts from this blog

SPSS keyboard combination alters encoding -

Socket.connect doesn't throw exception in Android -

iphone - How do I keep MDScrollView from truncating my row headers and making my cells look bad? -