I am currently writing a website and I need some help about facebook integration. I need a function (PHP or JS, both will help) that can check if a given user shared my website,
First you have to load the Facebook SDK right after your tag:
Then you can use the callback function to do what you want:
Then you should use it like this:
Share on facebook