facebook linter 无法识别元标签
我有一个带有 OpenGraph 标签的网站,但 facebook 的 linter 无法识别。输出位于此处< /a>.
奇怪的是,它给出了 og:url 丢失的错误,但更进一步,在“原始开放图文档信息”中,它似乎确实正确地获取了 og:url。什么给?
I have a website with OpenGraph tags that facebook's linter is not recognizing. The output is here.
Strangely, it gives an error that og:url is missing, but further down, in the "Raw Open Graph Document Information", it does seem to have picked up the og:url correctly. What gives?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
Linter(我认为现在称为 Debugger)过去曾多次出现已知问题,并且也多次向 Facebook 报告。即使当我尝试创建一个仅在页眉中包含 OG 标签的空白页面时,我的页面上也遇到了完全相同的问题。对我来说,它之后随机开始工作。
不过,需要检查一件事,如果您只有 OG 标签,则还需要它而不是普通标签。
它告诉浏览器如何正确使用 OG 标签,因为它们使用一些非标准代码。
The Linter (now called Debugger I believe) has had known issues several times in the past, and has been reported to Facebook numerous times as well. I had the exact same issue on a page of mine, even when I tried creating a blank page with just the OG tags in the header. For me it randomly started working after.
There is one thing to check though, if you just have the OG tags you also need this instead of the normal tag.
It tells the browser how to use the OG tags properly since they use some non-standard code.