So, I played with the facebook button, but I had 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 webpage that has almost the same information. Inside this webpage I have a facebook button, so users may like the page as shown here:
http://developers.facebook.com/docs/reference/plugins/like/ .
Now my problem is with a separate button. On the facebook page, I added images that some users “liked” and commented on, etc. Now I have posted the same images on my web page, where I would like to add the facebook button as a button for each image and, therefore, display whatever I like that the image has on facebook. I have included many different links in the button, but none of them seem to work. I tried a) the URL of the page. b) the URL of the image. c) random bits and bats manipulating different URLs.
I tried to view the javascript source code, but for my understanding it is too complicated. I know that the fc_click () function is called from a button, which then calls another function, and soon after that I get lost and did not find which url is used.
So, I think my question is, should the URL be put in an “how to” script so that I can use a similar button externally on facebook?
If you need more information, say so.
Many thanks:)
UPDATE: I am trying to use any combination or url and I still have no luck. The object for one of the “Like” buttons is an object on the chart, i.e. Here is an object that I like. but none of these links work. Facebook may be limiting this, as it is easy to use the URL of the page and it works fine, not individual elements.
Can I add again that I need a link that should be placed in the tag, and not just in order to get the number of likes and comments, etc. I also started the topic on facebook developer forums here , but no one answered with a solution.
Thanks again.
UPDATE 2: As noted by “Myles Gray,” the code does indeed display in 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, because it will not have the correct this link. Can anyone shed some light on whether this can be done, and if so, how? Of course, if this can be done, a proper reference to this will allow me to somehow use the content outside.