I'm trying to implement the Open Graph code, with a Like button, that will allow site visitors to Like individual products to share them on their Facebook profiles. I've got it partly working using the code at the bottom of this thread but I can't get an image to show.
The code I'm using for <head></head> is as follows:
The relevant products are either of the cameras at http://004.artinet.co.uk/acatalog/Cameras.html
I've tried with with and without the full URL for the image, either way it's the same, an ugly great link and no image! Any ideas?
The code I'm using for <head></head> is as follows:
Code:
<meta property="og:title" content="<actinic:variable name="PageTitle"/>"/>" /> <meta property="og:type" content="product" /> <script type="text/javascript"> document.write ('<meta property="og:url" content="'+window.location+'" />'); </script> <meta property="og:image" content="<actinic:block type="ProductList">http://004.artinet.co.uk/acatalog/<actinic:variable name="ProductImageFileName"/></actinic:block>" /> <meta property="og:site_name" content="Like Button Test" /> <meta property="fb:admins" content="9424[rest of ID removed]" />
I've tried with with and without the full URL for the image, either way it's the same, an ugly great link and no image! Any ideas?
Comment