title: How to "Like" facebook content externally
body: <p>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:</p>
  
  <p><a href="http://www.facebook.com/Adam.Holmes.Climbs.Kilimanjaro">http://www.facebook.com/Adam.Holmes.Climbs.Kilimanjaro</a>. </p>
  
  <p>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: </p>
  
  <p><a href="http://developers.facebook.com/docs/reference/plugins/like/">http://developers.facebook.com/docs/reference/plugins/like/</a>. </p>
  
  <p>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.</p>
  
  <p>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.</p>
  
  <p>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?</p>
  
  <p>If anymore info is needed, please say so. </p>
  
  <p>Thank you very much :)</p>
  
  <hr>
  
  <p><strong>UPDATE:</strong> 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. <a href="https://graph.facebook.com/134392743290333">Here is the object I want to like.</a> 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. </p>
  
  <p>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 <a href="http://forum.developers.facebook.net/viewtopic.php?id=88489">here</a> but no-one has replied with a solution.</p>
  
  <p>Thanks again.</p>
  
  <hr>
  
  <p><strong>UPDATE 2:</strong>
  As pointed out by "Myles Gray" the code is actually rendered in the HTML as:</p>
  
  <p><code>&lt;label onclick="this.form.like.click();"&gt;</code></p>
  
  <p>I'm not sure if there is a way to access the form from an external page since is wouldn't have the correct <code>this</code> 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 <code>this</code> would allow me to like content externally.</p>