Facebook打开图图像不显示 [英] Facebook open graph image not displaying

查看:190
本文介绍了Facebook打开图图像不显示的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经通过调试器运行了我的站点,并且正确的og:image出现了,但是当我单击站点上的共享按钮时,我得到了另一个图像.如果单击ipad上的共享"按钮,则会得到错误的图像以及第二张正确的图像.经过chrome和IE9的测试,都没有给我正确的图像.直到几天前,它一直在起作用.

I have run my site through the debugger and the correct og:image pulls up, but when I click the share button on my site I get a different image. If I click the share button on my ipad I get the wrong image plus a second image which is the correct image. Tested in chrome and IE9 and neither give me the correct image. This was working up until a few days ago.

网站是www.bodhitee.com

website is www.bodhitee.com

这是我的OG标签

<meta property="og:title" content="20% of each sale helps fight reckless fracking and mining."/>
<meta property="og:description" content="www.bodhitee.com: Cool Baby and Kids Clothes for a Cause"/>
<meta property="og:image" content="https://www.bodhitee.com/product_images/uploaded_images/bodhitee-fb-earthworks-nofrack.jpg"/>

推荐答案

从URL提取网页时,Facebook 缓存其内容,以备后用.这意味着,如果Facebook曾经从您的网站中提取数据,并且网站发生了变化(例如,您的og:image标签发生了变化),那么Facebook不会更改图像,因为它已经缓存了所有内容.

When pulling a webpage from an URL, Facebook caches it's content for later. It means, that if Facebook once pulls data from your site, and than your site changes (for example your og:image tags change), Facebook will not change the image, because it already has everything cached on it's side.

尝试访问 Facebook调试器页面,并查看Facebook的发现".使用此工具将强制Facebook从给定URL刷新数据.这是调试它的最佳方法.

Try visiting Facebook Debugger page and review what Facebook "sees". Using this tool forces Facebook to refresh data from the given URL. This is the best way to debug it.

当您确保Facebook看到"适当的og:image标签时,请确保og:image中的图像具有适当的最小宽度/高度(在fb调试器中已进行了全部说明).如果Facebook不符合FB的条件,Facebook将不会使用og:image中的图像.

When you make sure Facebook "sees" proper og:image tags, then make sure the images in the og:image are of proper minimum width/height (it's all explained in the fb debugger). Facebook will not use an image from og:image if it does not meet FB's criteria.

只要您的FB网站上的内容有任何问题,我都强烈建议使用此工具.

I strongly recommend this tool whenever there are any issues with content from your site on FB.

这篇关于Facebook打开图图像不显示的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆