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 6784825
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T17:02:52+00:00 2026-05-26T17:02:52+00:00

I made a Facebook async implementation where you can like different items of the

  • 0

I made a Facebook async implementation where you can like different items of the page.

You can see my implementation in this jsFiddle.

Code:

window.fbAsyncInit = function () {
    FB.init({ status: true, cookie: true, xfbml: true });
};
(function () {
    var e = document.createElement("script"); e.async = true;
    e.src = document.location.protocol + "//connect.facebook.net/nl_NL/all.js";
    document.getElementById("fb-root").appendChild(e);
} ());

Now I have three Facebook like buttons. But my problem is, I want it so that you can click on the a href links. When you click on the first like this <a> element. Than you like the first message / bericht.

How can I make that?

  • 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-05-26T17:02:52+00:00Added an answer on May 26, 2026 at 5:02 pm

    It is only possible to like a post (On Facebook) using the provided Graph API and FQL, not a page on the Open Graph.

    I’m afraid that you have to use the implementations that Facebook provide.

    Please see this post: 'Like' a page using Facebook Graph API

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

How can I embed just the posts made on a Facebook page into another
Hello fellow developers. I have previously made a facebook fan page with an iframe
I downloaded the script from emposha.com/javascript/fcbklistselection-like-facebook-friends-selector.html and made a few modifications, as the source
I made a tab as a Facebook Application. This app was made over Codeigniter
I've made a simple app for the purpose of posting to a Facebook Page
I have a fair amount of Facebook development experience, but this had made me
I would like to apply event tracking in google analytics to facebook comments made
I have made a game using HTML5 Canvas Element, Javascript for facebook. You can
I am working on making a album-viewer like facebook. I have made the setup,
I made a facebook fanpage for my rails app, and I would like to

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.