How to Add the Facebook 'Like' Button for Images on my Website Image Gallery?
I have tried so many methods to try and implement the Facebook 'Like' button you see when you on a Fan Page's images on my websites image gallery to also show in the style you see whilst on Facebook and you hover over to see the buttons to 'Like', 'Comment' and 'Shared' amount.
I have tried using the direct image URL, the pages URL and whatnot with the normal 'Like' button you can find on the developers.facebook.com side of Facebook, however, whenever you click on the button, it does not update the 'likes' on the Fan Page and it also doesn't load with the current 'likes'.
I would be very grateful for some help or any advice and thank you in advanced!
Go to Facebook help and find out a solution.
I don't mean to appear to be rude, however do you not thing I have done so and if it was that easy, there wouldn't be almost 5,000 views and no advice so far.
This solution has been working for others:
I got the code example from this StackOverflow question: http://stackoverflow.com/questions/5...facebook-photo
Jimutt! The code you have provided here really works for me. I'm also having some problems with the facebook like button as well before. Thanks!
You can use this code for face book like button.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<a target="_blank" href="http://www.facebook.com/dialog/feed?app_id=467220903300036&
link= your url
&picture= picture if you need
&name=title of your post
&description=drugstore.com offers Percentage off at Department Store. Save Up to 60% on Cuisinart Kitchen Cookware and Tools at Drugstore.com
|All times are GMT +1. The time now is 02:53 AM.|
Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.