使用自定义标题、内容和图像在 Facebook 上共享链接不起作用
当他们想要在 Facebook 页面中共享链接时,我使用 Facebook 头标签来生成特定的标题、描述和图像,看起来像这样:
<meta property="og:title" content="title" />
<meta property="og:description" content="description" />
<meta property="og:image" content="thumbnail_image" />
但如果我尝试共享我的链接,它不会接收它们,而是仅显示默认信息。如果我查看源代码,元标记的格式正确,所以我不确定我做错了什么。
提前致谢!
I'm using the Facebook head tags to generate specific title, description and images when they want to share a link in their Facebook page, it looks like this:
<meta property="og:title" content="title" />
<meta property="og:description" content="description" />
<meta property="og:image" content="thumbnail_image" />
But if I try to share my link it doesn't pick them up, it just shows the default info. If I look in the source code the meta tags are formatted correctly so I'm not sure what am I doing wrong.
Thanks in advance!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
尝试使用 Facebook 调试器查看您的页面有什么问题:
http://developers.facebook.com/tools/debug
Try the Facebook Debugger to see what's wrong with your page:
http://developers.facebook.com/tools/debug