gpt4 book ai didi

Facebook 分享包含多个图片的链接

转载 作者:行者123 更新时间:2023-11-30 05:27:10 30 4
gpt4 key购买 nike

我遇到过这个分享 https://www.facebook.com/lensculture/posts/10153590621527368来自 LensCulture:

enter image description here

我想知道他们是如何使用多个图像/缩略图实现这样的共享的。基本上每个图像都转发到同一个链接,即 https://www.lensculture.com/articles/joanna-mrowka-streets-of-the-world-piece-by-piece

他们是如何创建这样的共享的?有人知道吗?

最佳答案

这是在网页具有包含多个图像的 OpenGraph 标签时实现的。详情 here .

如果您查看 link 的来源,你可以看到 3 个 og:image 标签实例

<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 帖子中显示多张图片,您应该在网页中添加 og:image 标签。

FB 检查链接,找到图片并在帖子中显示它们。

关于Facebook 分享包含多个图片的链接,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/33506661/

30 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com