Share of virtual store product to Facebook

1

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

    
asked by anonymous 06.05.2015 / 19:21

2 answers

1

This was because at the time there was a bug in url scrapper of Facebook.

The reason why presentation images ( og:image ) were not appearing in the publications along with the rest of the information ( og:title, og:descriptino etc) was due to this bug.

Although for some people this bug may have disappeared at the end of the day (04/30/2015) while it was the same, this error has been fully fixed and the ticket given as resolved strong> a few days later. More precisely day - May 7, 2015: URL Scrapper Bug Status

    
04.07.2015 / 11:48
0

At this moment Facebook must be experiencing some problem. I have a website here that does just that but now it loads and sometimes it does not. This site is about 2 months online working exactly the way you mentioned it. Changing only the fact in my case I leave the url link ... in the same href with a target _blank, Facebook that is in charge of opening a popup.

Ps .: In another case Facebook did not display my image set in the meta tag, then I discovered that it was the image that was heavy that took a few seconds to load and so Facebook did not display. Type a request timeout. I swapped for a light image and it worked.

    
06.05.2015 / 20:01