Facebook 分享 link 超过一张图片
Facebook share link with more than one image
我从 LensCulture 看到了这个分享https://www.facebook.com/lensculture/posts/10153590621527368:
我想知道他们是如何设法实现这样的份额的,有多个 images/thumbnails。基本上每个图像转发到相同的link,即https://www.lensculture.com/articles/joanna-mrowka-streets-of-the-world-piece-by-piece
他们是如何创建这样的共享的?有人知道吗?
当网页具有包含多个图像的 OpenGraph 标签时,即可实现此目的。详情 here.
如果您查看 link 的来源,您可以看到 og:image 标签的 3 个实例
<meta property="og:image" content="https://photo1.lensculture.com/large/f7cae4af-f442-44fe-a162-0d2a0293dbdc.jpg" />
<meta property="og:image" content="https://photo2.lensculture.com/large/b678eb67-da99-40a4-86df-6dde6d9d9aef.jpg" />
<meta property="og:image" content="https://photo0.lensculture.com/large/9492a534-9ac7-423a-8ff7-776a72fbce31.jpg" />
因此,如果您想在一个 FB post 和 link 中显示多张图片,您应该在网页中添加 og:image 标签。
FB 检查 link,找到图像并在 post 中显示它们。
我们以前可以使用多个 og:image 选项卡来完成,但此功能不再有效。
我从 LensCulture 看到了这个分享https://www.facebook.com/lensculture/posts/10153590621527368:
我想知道他们是如何设法实现这样的份额的,有多个 images/thumbnails。基本上每个图像转发到相同的link,即https://www.lensculture.com/articles/joanna-mrowka-streets-of-the-world-piece-by-piece
他们是如何创建这样的共享的?有人知道吗?
当网页具有包含多个图像的 OpenGraph 标签时,即可实现此目的。详情 here.
如果您查看 link 的来源,您可以看到 og:image 标签的 3 个实例
<meta property="og:image" content="https://photo1.lensculture.com/large/f7cae4af-f442-44fe-a162-0d2a0293dbdc.jpg" />
<meta property="og:image" content="https://photo2.lensculture.com/large/b678eb67-da99-40a4-86df-6dde6d9d9aef.jpg" />
<meta property="og:image" content="https://photo0.lensculture.com/large/9492a534-9ac7-423a-8ff7-776a72fbce31.jpg" />
因此,如果您想在一个 FB post 和 link 中显示多张图片,您应该在网页中添加 og:image 标签。
FB 检查 link,找到图像并在 post 中显示它们。
我们以前可以使用多个 og:image 选项卡来完成,但此功能不再有效。