How to know who clicked the Facebook “Like” button on my site?

谁说我不能喝 提交于 2019-11-27 23:50:20

Although some FB social plugins show people who have liked your site (e.g. Likebox), actually this is not possible. You can only know how many they are, but not who they are.

You can check all of your facebook friend's wall to see your post. Rather, you could try the following

Copy your post link from the address bar.
Go to http://developers.facebook.com/docs/reference/plugins/like/
Paste your link in "URL to like" text box.
Click preview.
You will see the name + photo of your facebook friend in the right side (Yes, you can see only 2 to 3 friends).
If a person liked your post and not your facebook friend, you can't find him :(

Using the API, see this example:

https://developers.facebook.com/docs/reference/javascript/FB.Event.subscribe/

FB.Event.subscribe('edge.create',
    function(response) {
        alert('You liked the URL: ' + response);
    }
);

I was actually looking for this answer but found it on that page (I almost believed this thread that it wasn't something you can do)

Can you not view your page on facebook with all the users that 'Like' it?

You can't know who liked it, but you can know count

http://Graph.facebook.com/?id=http://stackoverflow.com

change http://stackoverflow.com with liked site

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!