我正在尝试在whatsapp上显示链接预览,它适用于ios和Windows,但不适用于android。我已经尝试了所有应该位于标记中的元标记。我错过了什么吗?
好的,您应该使用meta标记,有时需要一段时间才能进行更改,因此需要等待。
标题
<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上,仅当您复制将网址粘贴到聊天中时,此方法才有效
本文收集自互联网,转载请注明来源。
如有侵权,请联系 [email protected] 删除。
我来说两句