og:image was not defined, could not be downloaded or was not big enough error *despite* image sizes being specified

蓝咒 提交于 2019-12-13 05:19:42

问题


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

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.

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.

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.


回答1:


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!



来源:https://stackoverflow.com/questions/33617847/ogimage-was-not-defined-could-not-be-downloaded-or-was-not-big-enough-error-d

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