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 -

Add new record to the table by click on the button in Microsoft Access -

CSS3 Transition to highlight new elements created in JQuery -