Problem with facebook share plugin

0

I'm having a problem with the facebook share plugin. When I click on share, realize (1st print) that the image does not appear, now if I have already loaded it in a new tab for example, it appears (2nd print ).

It seems that the image is only shown when it is cached.

Has anyone ever been through this?

Any solution?

    
asked by anonymous 21.08.2015 / 16:09

2 answers

0

Sometimes this happens because the image to be displayed is either heavy or when Facebook calls the url of the image it takes to respond / return. Already when you make the second attempt he already has it. Home Check the size of the image and if when you access her direct url the response time is fast. That could be it.

Note: Another thing that can help is if it is already in the predefined sizes of Facebook: 1200x630, 600x315 or smaller.

    
21.08.2015 / 20:13
0

You can make this well defined in < head > of your page with og goals ..

Sample site Tableless :

<meta property="og:image" content="http://www.meusite.com.br/imagem.jpg">
<meta property="og:image:type" content="image/jpeg">
<meta property="og:image:width" content="800"> /** PIXELS **/
<meta property="og:image:height" content="600"> /** PIXELS **/

I hope I have helped.

    
01.04.2016 / 13:39