In the headings of the main page of this page (sorry, there is a language selection help screen), Yoast SEO Plugin generates this:
<meta content="http://www.example.com/wp-content/uploads/2015/06/whatever.jpg" property="og:image">
Despite the fact that the image linked here meets the requirements of Facebook (above 200x200 pixels), there is still no image when pasting a link to Facebook. My question is why?
The Facebook debugger solves the problem on a mail basis, which is unacceptable, because my client will have to use it for each message created (the image is not displayed for all new messages posted on FB).
I can do this to some extent using this comment code :
add_filter( 'wpseo_og_og_image', function ( $content ) { return $content . '?scrape=true'; } );
But it only works after pasting the URL at least three times into the FB with the page refreshing between each time, so it’s still not acceptable.
source
share