Reputation: 31
I have added the following to my Blogger template to add a Like button on each of my Blogger post:
<script>
document.write('<iframe src="http://www.facebook.com/plugins/like.php?href=<data:post.url/>&layout=standard&show_faces=false&width=380&action=like&font=trebuchet+ms&colorscheme=light" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:450px; height:25px"></iframe>');
</script>
My question is, how could I know who exactly has pressed Like as it only display the number of people who have liked my post?
Thank you!
Upvotes: 2
Views: 6363
Reputation: 31860
My question is, how could I know who exactly has pressed Like as it only display the number of people who have liked my post?
Force users to log into your website and only then display the like button for them. When you hear the edge.create
event fire then log the user who is logged in.
Upvotes: 1
Reputation: 52063
Facebook doesn't provide an API to get a list of people who like a page. This is probably due to privacy issues (although with Facebook you never know their reasonings, they sell your personal information all the time).
Upvotes: 2