在 Facebook 上发布链接 - 网站描述
我已经将这些标签包含在我的 html 文件中:
<前><代码> <头>>>
但是,如果有人将 URL 复制到 Facebook 并共享它,它只会显示页面的一部分作为其描述。
任何想法,可能出了什么问题?
谢谢
I have already included these tags in my html file:
<head> <meta property="og:title" content="MyTitle"/> <meta property="og:site_name" content="MySite"/> <meta property="og:url" content="http://mysite.com"/> <meta property="og:description" content="description ..."/>
But if someone copies the Url to Facebook and shares it, it just shows a secton of the page as its description.
Any idea, what could be wrong?
thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
正如 MMM 提到的,Facebook 确实缓存了 OpenGraph 元数据。
听起来您想使用 Facebook 调试器(有时仍称为 Linter) - 用于有两个原因。
因此,请查看调试器,它可能会很好地解决您的问题。祝你好运!
As MMM mentioned, Facebook does indeed cache the OpenGraph metadata.
It sounds like you want to use the Facebook Debugger (sometimes still referred to as the Linter) — for two reasons.
So take a look at the Debugger and that may well resolve your problems. Good luck!
Facebook 缓存了一些 OG 数据,因此更新可能需要一些时间。尝试将文件托管在不同的文件夹中,看看它是否仍然发生。
Facebook caches some OG data, hence it might take some time for it to update. Try hosting the file in a different folder and see if it's still happening.