Twitter 元图像未在 Twitter 上呈现,因为它“可能受到网站 robots.txt 文件的限制”

ujw*_*kal 7 robots.txt image meta-tags twitter-card

这是我尝试使用 Twitter 时的链接,但图像不知何故不起作用,但它适用于 Facebook。

它仅适用于 Facebook,但对于 Twitter 我遇到了问题:

警告:“twitter:image”元标记指定的图像 URLhttps://scontent.xx.fbcdn.net/v/t31.0-8/19388529_1922333018037676_3741053750453855177_o.jpg?_nc_cat=0&oh=ba7394f2a6af68cb4b78961759a154f1&oe=5B6BC349可能受到网站 robots.txt 文件的限制,这将阻止 Twitter 获取它。

不知道是什么原因造成的,这是我的 robots.txt:

User-agent: *
Disallow: /translations
Disallow: /manage
Disallow: /ecommerce
Run Code Online (Sandbox Code Playgroud)

以下是复制问题的链接:https://invoker.pvdemo.com/album? album=1422199821384334&name=gallery

uno*_*nor 5

您的 robots.txt 仅与您的网址相关。对于托管在 的图像https://scontent.xx.fbcdn.net/,相关的 robots.txt 是https://scontent.xx.fbcdn.net/robots.txt

\n\n

目前,这个 robots.txt 阻止了所有内容:

\n\n
\n
User-agent: *\nDisallow: /\n
Run Code Online (Sandbox Code Playgroud)\n
\n\n
\n\n

如URL 爬行和缓存下所述,Twitter\xe2\x80\x99s 爬网程序 (Twitterbot ) 尊重 robots.txt:

\n\n
\n

如果图像 URL 被阻止,则不会显示缩略图或照片。

\n
\n