如何使我的网站网址在社交应用程序(Discord、Twitter 等)中生成漂亮的嵌入式药丸?
我发现,当我将某些网站的 URL 放入 Discord 或 Twitter 中时,应用程序会直接在流中显示该网站的漂亮嵌入式药丸。
例如,这是 Discord 中 github url 的嵌入式 Pill:
Twitter 中的相同 URL:
如何使我的网站也生成漂亮的嵌入式药丸?
我一直在尝试 Open Graph 中的内容,但它们对我不起作用。
I am seeing that when I put URLs for some websites in Discord or in Twitter, the applications shows nice embedded pills of the website directly in the stream.
For example this is the embedded pill of a github url in Discord:
The same URL in twitter:
How can I make my website to also generate nice embedded pills?
I have been trying things from Open Graph but they are not working for me.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我设法让它在 Discord 中工作,这就是我的
中的内容:
I managed to make it work in Discord, this is what I have in my
<head>
: