Google Plus Sharing Dialog Shows Incorrect Image Using OpenGraph Meta Tags

I use OpenGraph tags, so when I share my page on Facebook or Google+, these services will know which image should be displayed in the sharing dialog.

<meta property="og:title" content="Best Site Ever" /> <meta property="og:description" content="This website rules" /> <meta property="og:image" content="http://example.com/image.png" /> 

Both services displayed the correct image, but I changed the image (and file name) in og: image. Only Facebook shows the new image, after launching it through its URL debugger. Google+ shows the old image, I also run my URL through my debugger, but the image will not be updated. Does anyone know why?

+7
html facebook opengraph google-plus
source share
1 answer

Use the structured data tool to check which Google metadata / schema is being played out. In addition, sometimes a service caches data, tries to add a binding or parameter to your URL during testing (for example, https://foo.com becomes https://foo.com/#test1 https://foo.com?bar= 1 ). The time taken to get the cache invalid is unknown, so the only consistent way to get the crawler to recount the fragment that appears for your page is to change the URL.

You might want to try creating a diagram using the Google+ snippet tool . Also note that the rendering article has requirements that you can follow to control how images appear in the stream. Please note: if you want your content to display with a large image, you must specify an article, blog or blog post for the type of scheme.

+6
source share

All Articles