我正在尝试在 whatsapp 上显示链接预览,它适用于 ios 和 windows,但不适用于 android。我已经尝试了所有应该在标签中的元标签。我错过了什么吗?
最佳答案
好的,您应该使用元标记,有时需要一段时间才能更改,因此您需要等待。
标题
<meta property="og:title" content="title in here" />
说明
<meta property="og:description" content="description in here">
图片
<meta property="og:image" content="image in here">
网址
<meta property="og:url" content="url in here" />
PS:在whatsapp上,这仅在您将网址复制粘贴到聊天中时才有效
关于html - WhatsApp 链接预览不适用于安卓手机,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/52592146/