html - WhatsApp 链接预览不适用于安卓手机

标签 html meta-tags

我正在尝试在 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/

相关文章:

xpath - 使用scrapy从元标记中提取关键字

php - 修改后的 PHP get_meta_tags 不适用于某些 URL

html - 移动网站仅显示在 30% 的屏幕上,宽度设置为 100%,元视口(viewport)设置为设备宽度

javascript - 有没有办法在ipad上的safari中锁定水平滚动?

javascript - CSS 网格系统或媒体查询

javascript - 用google map api画圆

html - 拉伸(stretch)和调整 html 对象的大小以适应?

css - 如何配置 div 以调整大小以包含内部 div?

javascript - HTML5 Canvas 斐波那契螺旋线

metadata - 谷歌从哪里获得其每个站点结果的摘要,并显示在其搜索结果页面上?