I am using the like button on my blog and i need to get, through the api, who clicked it. I want to know the user id or something that can get me to that.
I am developing an application for my thesis that does data excavation on social networks and visualizations.
Unfortunately, getting this information will require an install. Since you mentioned you’re using Blogger, that pretty much leaves you with JavaScript.
The best thing to do is ensure they’ve installed before they’ve hit the “Like” button, as that will be easier to deal with. Installing looks like this (using some jQuery too, for brevity):
Now that you have an install, all you need to do is hook in to the “Like” event.
Once you have a user ID and URL, you can fire off an AJAX request somewhere so you can keep track of who liked what.
More documentation:
FB.loginFB.getLoginStatusFB.Event.subscribe