View Full Version : Facebook Like Button won't publish the correct picture

09-21-2012, 05:21 PM
I have scoured the Internet trying to find solutions for this and have tried multiple options trying to get this all to work. I have set up like/share buttons on my website. I used META TAGS to direct the published picture to a specific image because I couldn't get it to actually pull the right image off the website. So one picture for every item is fine.

The "Share" button on the website works and reflects the logo that I directed it to, but the "Like" button still wants to use the incorrect picture. My button code looks like this:


<link rel="image_src" href="http://hollywoodhistoryonline.com/hollywoodhistoryonline.com/FB.JPG" />
<!-- AddThis Button BEGIN --><div class="addthis_toolbox addthis_default_style ">
<a class="addthis_button_facebook_like" fb:like:layout="button_count"></a>
<a class="addthis_button_tweet"></a>
<a class="addthis_button_pinterest_pinit"></a>
<a class="addthis_counter addthis_pill_style"></a>
<script type="text/javascript" src="http://s7.addthis.com/js/300/addthis_widget.js#pubid=xa-505ba5d06c53a358"></script>
<!-- AddThis Button END -->

And metas look like this:

<meta property="og:title" content="<?php echo META_TAG_FACEBOOK; ?>" />
<meta property="og:type" content="product" />
<meta property="og:url" content="<?php echo $canonicalLink; ?>" />
<meta property="og:description" content="<?php echo $meta_products_description; ?>" />
<meta property="og:site_name" content="<?php echo STORE_NAME; ?>" />
<meta property="fb:admins" content="508187323" />
<meta property="og:image" content="http://hollywoodhistoryonline.com/hollywoodhistoryonline.com/FB.JPG" />

What am I doing wrong? All the other information is populating correctly as coded, even though I would rather use the Item title + Price instead of the webpages title like: http://www.hollywoodhistoryonline.com/zencart/index.php?main_page=product_info&cPath=1&products_id=409

I would wanted it to publish as Hogwart's Invitation Envelope - $800. Currently it would read like this: Hogwart's Invitation Envelope [1070a] - $800.00 : Hollywood History Online, Discover the Magic and B...

Which is entirely too long, but then again that's when I click "Like" but the "Share" button doesn't put that much information in there, it's much cleaner. Any suggestions? Thanks.

09-26-2012, 07:53 PM
This should work i dont know the reason why it is not working i used the same code....

09-26-2012, 08:50 PM
It could be that the image is stored in Facebook’s cache memory and it will take a while for it to be updated. I seem to remember that I once had the same problem.