View Full Version : Check if users liked and shared?

03-14-2012, 10:32 PM
Does someone know what the JavaScript for checking if an user have "liked" and "shared" on Facebook?

As far as I know, you can not check if they've shared, but only if they've clicked the button. I don't know if you can make them like to view, but it would be nice to get that piece of code too, if obtainable.

I'm going to use it for a website where you have to "like" a fb page shown, and have to share the website.

If someone can provide it, I'd also like a guide on timers


03-15-2012, 08:14 AM
Use FB.event.subscribe (http://developers.facebook.com/docs/reference/javascript/FB.Event.subscribe/) from the Facebook JavaScript SDK.