Facebook og:image tag not working correctly - showing more images

假装没事ソ 提交于 2019-12-13 04:34:27

问题


I use Open Graph tags in my website. I set og:title , og:url ,og:description ,og:image etc. in few of my pages.

When sharing the page, the details are shown fine, But the image shown includes some other images I have in the page (something in the footer - logo of my company and some other image that is in the footer).

It's true that there even that there are more than one image - I can click the arrows below the image to change it - and the next image is the image I have set in og:image (for each page a diffrent one). But beside the "true" image, all the pages have the same other two images that I don't want.

Furthermore, even if the other images "must" be showing - I prefer my og:image to be the first and to avoid the need of clickng the next arrow below the image to view the "real" image.

How can I solve this?

Here is a visual explanation:

来源:https://stackoverflow.com/questions/26511859/facebook-ogimage-tag-not-working-correctly-showing-more-images

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!