og:图像未定义,无法下载或不够大的错误*尽管*指定了图像大小 [英] og:image was not defined, could not be downloaded or was not big enough error *despite* image sizes being specified

查看:118
本文介绍了og:图像未定义,无法下载或不够大的错误*尽管*指定了图像大小的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试让我的网站(katzcoffee.com)正常显示,同时分享到Facebook,但我收到这个错误:

I am trying to get my site (katzcoffee.com) to show up properly while sharing to facebook, but I'm getting this error:

og:图像未定义,无法下载或不够大。请使用og:image metatag定义所选图像,并使用至少为200x200像素的图像,可从Facebook访问。图片 https:// www将使用.katzcoffee.com / sites / katzcoffee.com / files / styles / front_slider / public / 11393131_10152775065312024_6813174683857555982_n_1.jpg?itok = BHzNjEH7 。请参阅 http://developers.facebook.com/docs/sharing/webmasters/crawler更多的疑难解答提示。

og:image was not defined, could not be downloaded or was not big enough. Please define a chosen image using the og:image metatag, and use an image that's at least 200x200px and is accessible from Facebook. Image 'https://www.katzcoffee.com/sites/katzcoffee.com/files/styles/front_slider/public/11393131_10152775065312024_6813174683857555982_n_1.jpg?itok=BHzNjEH7' will be used instead. Consult http://developers.facebook.com/docs/sharing/webmasters/crawler for more troubleshooting tips.

原始标签facebook scrapes显示一个指定的大小(1500x500),预览看起来正确使用Facebook调试工具 - 直到我去分享它 - 当它显示错误的图像。

The raw tags facebook scrapes show a size specified (1500x500), and the preview looks correct while using the facebook debugger tool - until I go to share it - when it shows the wrong image.

我看到有时你必须等待更改显示,但是我一直在等待2天,仍然没有运气。

I've seen that sometimes you have to wait for changes to show up, but I've been waiting for 2 days and still no luck.

我还尝试使用网络嗅探器查看抓取工具是否可以访问该图像,并且它看起来

I've also tried using a web sniffer to see if the image was accessible to crawlers, and it looks fine.

推荐答案

Facebook神奇地发现我的网站原本没有显示的一些额外的错误(一个坏的重定向和类型设置不正确)。在我修正了这两件事之后,它开始工作了!

Facebook magically found some extra errors with my site that weren't showing up originally (a bad redirect & type was set incorrectly). After I corrected those two things, it started working!

这篇关于og:图像未定义,无法下载或不够大的错误*尽管*指定了图像大小的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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