Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8173717
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T22:15:37+00:00 2026-06-06T22:15:37+00:00

I am using the like button on my blog and i need to get,

  • 0

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.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-06T22:15:39+00:00Added an answer on June 6, 2026 at 10:15 pm

    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):

    <div id="fb-root"></div>
    <script src="//connect.facebook.net/en_US/all.js" type="text/javascript">
    <script type="text/javascript">
        FB.init({
            appId      : 'YOUR_APP_ID', // App ID
            status     : true, // check login status 
        });
    
        $('#button').click(function(evt)
        {
           FB.login(function(response)
           {
                if (response.authResponse)
                {
                    // yay! logged in!
                }
           }); 
        });
    

    Now that you have an install, all you need to do is hook in to the “Like” event.

    FB.Event.subscribe("edge.create", function(url)
    {
       FB.getLoginStatus(function(response)
       {
           if (response.status === 'connected')
           {
               var userId =  response.authResponse.userID;
    
               // you now have the userId and the URL of the object they liked.
           }
        }
    });
    

    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:

    • JS FB SDK
    • FB.login
    • FB.getLoginStatus
    • FB.Event.subscribe
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Possible Duplicate: How to know who clicked the Facebook “Like” button on my site?
I need a SQLite query that searches 1 field only using LIKE. Basic example:
i am trying to create a Radio button using Cakephp like the one the
I have read that a using like this: using (myObject) { myObject.DoStuff(); } Can
I have a query that searches for clients using like with wildcard. For example:
I am trying to implement a like button on a blog. The blog gets
I'm trying to get better at using Jquery and therefore would like feedback on
Desired Behavior: After using the Like button on top of my fan page, I
I can't get a Facebook Like button to work on an ASP.NET page. I've
If using xfbml, the Facebook Like button doesn't even render on Blackberrys. If using

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.