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

.htaccess - First slash is removed after domain when entering a webpage in the browser -

Socket.connect doesn't throw exception in Android -

SPSS keyboard combination alters encoding -