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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T03:10:05+00:00 2026-05-20T03:10:05+00:00

So I have been playing around with the facebook like button but I have

  • 0

So I have been playing around with the facebook like button but I have run into a problem. I have a facebook page about some charity work I’m doing here:

http://www.facebook.com/Adam.Holmes.Climbs.Kilimanjaro.

I also have a web page that has pretty much the same information on it. Within this web page I have a facebook like button so that users can like the page as seen here:

http://developers.facebook.com/docs/reference/plugins/like/.

Now my issue is with a seperate button. Within the facebook page I have added images of which some users have “liked” and commented etc. I have now placed those same images on my web page where I would like to add a facebook like button for each image and hence displaying all the likes that the image has on facebook. I have plugged many different links into the like button but none of them seem to work. I have tried a) the url of the page. b) the url of the image. c) random bits and bats manipulating different url’s.

I attempted to look through the javascript source code but it is much too complicated for my understanding. I know that a function fc_click() is called from the button which further calls another function, and not long after that I get lost, and have not found what url is used.

So I guess my question is, what is the url to be placed in the “like” script so that I can use the like button externally to facebook?

If anymore info is needed, please say so.

Thank you very much 🙂


UPDATE: I have been trying all different combination’s or URL’s and still having no luck. The object for one of the “Like” buttons is an object in the graph i.e. Here is the object I want to like. but none of these links are working. Maybe facebook are restricting this as it is simple to use the url of the page and it works fine, just not individual items.

May I add again that I need the link that is to be placed in the tag and not just to be able to retrieve a count of the likes and comments etc. I also started a topic on the facebook developer forums here but no-one has replied with a solution.

Thanks again.


UPDATE 2:
As pointed out by “Myles Gray” the code is actually rendered in the HTML as:

<label onclick="this.form.like.click();">

I’m not sure if there is a way to access the form from an external page since is wouldn’t have the correct this reference. Is anybody able to shed some light on whether this can be done, and if so, how? Surely if this can be done, having the correct reference to this would allow me to like content externally.

  • 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-20T03:10:05+00:00Added an answer on May 20, 2026 at 3:10 am

    I’m afraid what do you want is not possible. A quick “evidence“:

    <script src="http://connect.facebook.net/en_US/all.js#xfbml=1"></script>
    <fb:like href="http://www.facebook.com/platform" show_faces="true" width="450"></fb:like>
    

    This would work just fine, but using its Graph API interpretation:

    <script src="http://connect.facebook.net/en_US/all.js#xfbml=1"></script>
    <fb:like href="https://graph.facebook.com/19292868552" show_faces="true" width="450"></fb:like>
    

    This won’t work!

    I don’t think you should bother searching for a “workaround/hack” or trying to inspect and debug the photo page on facebook, because EVEN if you did find a way to use their like functionality externally I’m pretty sure that would get you into legal issues with Facebook!

    Now what I would do is, monitoring when the user “likes” a photo on your website and have a pop-up or a DIV under the LIKE button to encourage him to go the photo page in Facebook to support it (like it) there too!

    This can be done by using the edge.create event:

    FB.Event.subscribe('edge.create', function(response) {
      // Encourage the user to support your cause in Facebook too!
      $("div_with_a_link_to_the_photo_page_on_facebook").show();
    
      // or using a dialog or whatever effect you like
      $("#facebook_support").dialog();
    });
    

    P.S: I’m using jQuery here

    Also to actually like facebook “objects” externally you need an application and something like my answer here, but I think you don’t want to do that.

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

Sidebar

Related Questions

I have been playing around with the Rhino ETL library and really like the
I have been playing around with NSURLConnection. Now I'm trying to grab some data
I have been playing around with Scala parser combinators for some time now, and
I have been playing around with zxing over the weekend, and have ran into
I have been playing around with Dynamic Data but I find the filtering and
We have been playing around with the canvas element, but are encountering sluggishness on
I have been playing around with Umbraco 5 for some days now. I have
I have been playing with Facebook Graph API around a week, and I still
I have been playing around with some debugging and wrote some C code that
I have been playing around lately with head.js but I have found a stranger

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.