BlessIsaacola:
Well, it's working on other sites I have taken a look at and it's working on our site as well. Without a site, there's really not much to look at or decode.
You can post the code you're using in your html_header and template file here
Ok, lets give it a try :) html-header:
<html xmlns="http://www.w3.org/1999/xhtml" <?php echo HTML_PARAMS; ?> xmlns:fb="http://www.facebook.com/2008/fbml">
<meta property="og:title" content="<?php echo META_TAG_FBTITLE; ?>"/>
<meta property="og:site_name" content="<?php echo TITLE; ?>"/>
<meta property="og:image" content="<?php echo META_TAG_FBIMG; ?>"/>
<meta property="og:url" content="<?php echo $canonicalLink; ?>"/>
<meta property="fb:admins" content="XXXX"/>
<meta property="og:type" content="product"/>
Replaced adminid. Not sure if its smart to post it here? Anyways I am 100% sure that its correct.
And heres my tpl_products_info_display:
<!-- bof Facebook Like Button -->
<p><fb:like></fb:like></p>
<div id="fb-root"></div>
<script>
window.fbAsyncInit = function() {
FB.init({appId: '161270263913707', status: true, cookie: true,
xfbml: true});
FB.Event.subscribe('edge.create', function(href, widget) {
// Do something, e.g. track the click on the "Like" button here
});
};
(function() {
var e = document.createElement('script');
e.type = 'text/javascript';
e.src = document.location.protocol +
'//connect.facebook.net/en_US/all.js';
e.async = true;
document.getElementById('fb-root').appendChild(e);
}());
</script>
<!-- eof Facebook Like Button -->
Hope this info might be helpful!