Problem with facebook share plugin

Asked

Viewed 46 times

0

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

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

Someone’s been through it?

Some solution?

inserir a descrição da imagem aqui

inserir a descrição da imagem aqui

2 answers

0

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

Example of the 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’ve helped.

0

Sometimes this is because the image to be displayed is either heavy or when Facebook calls the image url the same delay to reply/return. Already when you make the second attempt he already has it.
Checks the size of the image and whether when you access its direct url the response time is fast. This could be it.

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

Browser other questions tagged

You are not signed in. Login or sign up in order to post.