Help with image in facebook post

0

It happens that I have defined a meta tags to share a facebook post, everything goes well with the post; the detail is in that the image that I detail in the og: image is cut off when the post is done.

I've been searching and apparently you can use the options og: image: width and og: image: height

<meta property="og:image" content="{{ absolute_url( asset('http://xpertz.co/bundles/xpertz/assets/images/creative/facebook.jpg')) }}" />
<meta property="og:image:type" content="image/jpeg" />
<meta property="og:image:width" content="520" />
<meta property="og:image:height" content="223" />
<meta property="og:url" content="http://www.xpertz.co/"/>
<meta property="fb:app_id" content="1416483605041456"/>
<meta property="og:type" content="article" />
<meta property="og:title" content="Xpertz" />
<meta property="og:description" content="¿Sabes si te están dando un salario justo? ¿Sabes cuanto deberías ganar? Xpertz te confirma totalmente gratis cuanto están pagando a personas como tú en el mercado. Regístrate y recibe tu estimado personalizado. #comunidadtransparente #Xpertz"/>

But I do not see any substantial changes in how the image is displayed.

Someone has had experience in this topic that can guide me, if I have to make the smallest image, it is currently 520 px X 220 approx.

    
asked by Fernando León 28.04.2017 в 01:31
source

2 answers

0

Have you checked that the facebook scraper URL is updated each time you make changes? You may have defined everything well but the scraper still shows the old image.

You can update the scraper from here: link

    
answered by 28.04.2017 в 10:59
0

a. Something that changes constantly

The issue of image sizes is something that usually changes according to the social network, and even some social networks change these specifications from time to time.

That's why it's always good to have a reference page where you can check the possible changes that may occur, especially when you have your images well configured and suddenly you see that something is wrong ... consider then that there must have been some change in the specifications and consult some of these pages.

Changes for 2017 on Facebook

In this page the new changes in Facebook are indicated and, always this type of page will give you the full specifications.

Summing up:

  • Profile image: 180x180 px
  • Cover image: 828 x 315 px
  • Shared image: 1200 x 630 px
  • Shared link: 1200 x 627 px
  • Jump image: 1200 x 717 px

b. Reset the image

Due to cache and other issues, old images are stored for a while. I have on my site a page in which the image changes weekly. Always I have to use a tool that has Facebook so that my image shows correctly, because if I change the content of my page right now and try to share it in FB, the image that will be seen will be the previous one.

For that there is the Debugger of shared content errors , going to that page, place there the url of the page that you have updated, starting with www. , it is not mandatory to put http first. And then you click on the Debug button. It will show the content of your page with the current image recognized by Facebook, almost certainly it will be the old one, unless you have changed the content a while ago. If you see the current image in the content and it looks good, you have nothing to do.

If you see the image incorrectly, then you have to press the Re-extract button, so that the content of the page is reset. It will show you the image, the urls, a preview, etc. Sometimes you have to give it two or three times to extract again , until you get the right content, especially if you enter the debugger almost immediately after updating the content.

With an image with the size according to Facebook specifications and using the debugger, your problem should be solved.

    
answered by 28.04.2017 в 12:36