在公司 Facebook 页面上发布链接时,照片不显示
我不知道为什么会发生这种情况。但是,当我尝试在公司的 Facebook 页面上发布链接省略时,Facebook 不会加载缩略图。然而,如果我尝试从我的网站发布一些较早的链接,例如忽略链接,则会加载该页面中的所有图片。
有人可以告诉为什么会发生这种情况吗?另外,有时,facebook 不会加载页面上的所有图像。
I am not sure why this is happening. But, When i try to post Link Omitted on the company's facebook page, the thumbnails aren't loaded by the facebook. Whereas if I try to post some earlier link from my website, like Link Omitted, all the pics from that page are loaded.
Can someone tell why this happens...Also, sometimes, facebook doesn't load all the images from page.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您依赖 Facebook 废弃您的页面内容的方式,这并不是实现您想要的效果的最佳方式。您看到旧链接图像的原因可能是缓存。
为了确保您在 Facebook 上发布内容时拥有图像,您应该添加
og:image
OpenGraph 元标记。有关此内容的更多信息,请阅读 OpenGraph 文档 并使用 Facebook 调试工具,用于检查您是否存在报废问题和/或正确报废所有详细信息。
You rely on how Facebook scrapping your page content which isn't a best way to achieve what you want. The reason you see image for older links is probably caching.
To ensure you have images with posting your content on Facebook you should add
og:image
OpenGraph meta tags.For more info on this read OpenGraph documentation and use Facebook Debug tool to check if you have any issues with scrapping and/or all details scrapped correctly.