开发者

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

Can I know who clicked "Like" on m开发者_开发百科y website ?


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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜