I have a problem to share a product from a virtual store to facebook. I'm putting meta tags on the product page:
<meta property='og:title'...
<meta property='og:url' ...
<meta property='og:site_name' ...
<meta property='og:type' content='website'/>
<meta property='og:image' ...
<meta property='og:description' ...
And the script I use to open the share window looks like this:
$("#btn_facebook").bind('click', function (event) {
var twtTitle = document.title;
var twtUrl = location.href;
var imagem = 'http://www.meusite.com.br' + $("#Share_Image").val();
var twtLink = 'http://www.facebook.com/sharer/sharer.php?u=' + twtUrl;
window.open(twtLink,'', '_blank', 'location=no, menubar=no, resizable=yes, width=575, height=520, fullscreen=yes, status=no, titlebar=no, toolbar=no');
});
Even open the share window correctly with the photo and description of the product, but when I click on share, on facebook post, all descriptions and text go, but the image does not load and does not appear. Only one whiteboard appears without the photo that appeared before.
Can anyone help me to identify this problem or do I have a solution? Thank you, Alex