Facebook share The showing image is not the image set in og:image

ぃ、小莉子 提交于 2019-12-13 09:30:53

问题


In my PDP(product display page),i set og:image as my product image,however,in share facebook page,the sharing img is not what I expected in og:image Don't know why I have tried my URL:h ttp://www.halfords.com/cycling/helmets/kids-helmets/halfords-boys-bike-helmet-50-54cm in facebook debug page:h ttps://developers.facebook.com/tools/debug/og/object/ the below is the screenshot in facebook debug page. green arrow pointed is expected,however,it shows the red arrow pointed

Thanks very much for the kind guy to give me some suggestion.


回答1:


Make sure the web page you're developing isn't tested/located on a local server (like WAMP/MAMP etc.). Facebook might not necessarily get every property exactly right. Try testing it live.




回答2:


Check your image size is at least 200x200 pixels (do not use a thumbnails). Then re-scrape your image with facebook's debugger tool



来源:https://stackoverflow.com/questions/31529962/facebook-share-the-showing-image-is-not-the-image-set-in-ogimage

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