为什么Facebook调试器加薪:爬虫接受Deflate和GZIP内容编码

发布于 2025-02-09 01:50:43 字数 1347 浏览 0 评论 0原文

得到此警告:图像不可用

Provided og:image, https://t44-post-cover.s3.eu-central-1.amazonaws.com/7ou5 could not be downloaded. This can happen due to several different reasons such as your server using unsupported content-encoding. The crawler accepts deflate and gzip content encodings.

如果我将get发送到https://t44-post-cover.s3.eu-central-1.amazonaws.com.com /7OU5和通过convect-编码gzipcontent-incodinggzip在Postman中,我回到了GIF,那是什么问题?

内容小于8MB,为6.23 MB。

从Graph API中调用crawler:

{
  "error": {
    "message": "Invalid parameter",
    "type": "OAuthException",
    "code": 100,
    "error_subcode": 1611071,
    "is_transient": false,
    "error_user_title": "URL Follow Failed",
    "error_user_msg": "There was an error in fetching the object at URL 'https://tikex-dev.com/kubl/38fn/j1vd/2mi1', or one of the URLs specified via a redirect or the 'og:url' property including one of https://t44-post-cover.s3.eu-central-1.amazonaws.com/7ou5.",
    "fbtrace_id": "A4YG8eB4cFHG9acjUaDuCKk"
  }
}

Got this warning: Image Unavailable

Provided og:image, https://t44-post-cover.s3.eu-central-1.amazonaws.com/7ou5 could not be downloaded. This can happen due to several different reasons such as your server using unsupported content-encoding. The crawler accepts deflate and gzip content encodings.

If I send a GET to https://t44-post-cover.s3.eu-central-1.amazonaws.com/7ou5 and pass Accept-Encoding: gzip and Content-Encoding: gzip in Postman, I got back the gif, what is then the problem?

Content is less than 8MB, it is 6.23 MB.

enter image description here

Got this error calling crawler from Graph API:

{
  "error": {
    "message": "Invalid parameter",
    "type": "OAuthException",
    "code": 100,
    "error_subcode": 1611071,
    "is_transient": false,
    "error_user_title": "URL Follow Failed",
    "error_user_msg": "There was an error in fetching the object at URL 'https://tikex-dev.com/kubl/38fn/j1vd/2mi1', or one of the URLs specified via a redirect or the 'og:url' property including one of https://t44-post-cover.s3.eu-central-1.amazonaws.com/7ou5.",
    "fbtrace_id": "A4YG8eB4cFHG9acjUaDuCKk"
  }
}

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

落花随流水 2025-02-16 01:50:43

我相信这是因为您没有将其链接到使用OG:Image的直接文件下载链接。

I believe this is happening because you are not linking it to a direct file download link with og:image.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文