为什么“开放图谱"检查器无法检测到“开放图谱"数据? [英] Why can't Open Graph checkers detect Open Graph data?
问题描述
让我们加密),共享链接时,Facebook或Twitter不能获取预览.我遵循了 The Open Graph协议,并包含以下打开的图形标记:
My page, after adding an SSL certificate (Let's Encrypt), cannot have preview fetched by Facebook or Twitter when sharing the link. I have followed The Open Graph protocol and include the following open graph tags:
<meta property="og:type" content="article" />
<meta property="og:title" content="Corner Timer: gently make you feel guilty on time-wasting apps" />
<meta property="og:url" content="https://lyminhnhat.com/resources/productivity/corner-timer-gently-make-you-feel-guilty-on-time-wasting-apps/" />
<meta property="og:description" content="Make you feel guilty for your unproductive curiosity" />
<meta name="twitter:site" content="@ooker777" />
<meta name="twitter:text:title" content="Corner Timer: gently make you feel guilty on time-wasting apps" />
<meta name="twitter:image" content="https://lyminhnhat.com/wp-content/uploads/2019/04/Screenshot_2019-04-11-11-31-39.png?w=640" />
<meta name="twitter:card" content="summary_large_image" />
但是,我使用的所有3个开放式图形检查器- Abhinay Rathore的Open Graph Tester , iframely的嵌入代码
However, all 3 Open Graph checkers I use - OpenGraphCheck.com, Abhinay Rathore's Open Graph Tester, Facebook's Object Debugger - say that there is no Open Graph implement. There is one exception though: Iframely's Embed Codes
由于所有三个检查器都对此有问题,因此,这可能不仅仅是Facebook的问题,如 FB OpenGraph og中所建议:图片未提取图片(可能是https?).但是,即使我仅尝试使用html链接(使用<html prefix="og: http://ogp.me/ns#">
剥离末尾空格),也没有任何改变.
Since all three checkers have problem with this, probably this is not just a problem of of Facebook, as suggested in FB OpenGraph og:image not pulling images (possibly https?). Nevertheless, nothing changes even though I have tried using html links only, stripping end white space, using <html prefix="og: http://ogp.me/ns#">
.
此人建议它可能是服务器问题.你知道为什么会这样吗?
This person suggests that it can be a server issue. Do you know why this happens?
相关:是否拥有一个全新的SSL网站已经可以避免Open Graph问题?
推荐答案
就我而言,爬虫似乎只是一个错误.我对此问题有自己的规范答案,希望对您有所帮助: FB OpenGraph og:image无法提取图像(可能是https?)
In my case, it seems that the crawler is just having a bug. I have my own canonical answer in this question, hope that helps someone: FB OpenGraph og:image not pulling images (possibly https?)
这篇关于为什么“开放图谱"检查器无法检测到“开放图谱"数据?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!