html - WhatsApp 链接预览不适用于 Android 手机
问题描述
我正在尝试在 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上,只有当您复制粘贴聊天中的网址时,这才有效
推荐阅读
- regex - 如何在捕获组中捕获组?
- c++ - 如何在循环中增加和减少一系列数字
- python - 比较 django if 块中的两个 django 变量
- python - matplotlib 按钮未显示在同一窗口中
- php - PHP:它想要一个“对象”,所以我给它和对象,然后它错误地说它想要一个“数组”,给出了什么?
- javascript - 在实践中确保算法仅在需要时启动函数或仅在 jquery 中启动函数是否更好
- hadoop - Hive 命令行 - 列名中的反引号问题
- react-native - react native 中的 youtube 数据 api
- java - 使用标记将表格添加到同一页面上的现有 PDF - ITEXT
- neo4j - 在线访问 Neo4J 浏览器时出错。我得到 ServiceUnavailable:WebSocket 连接失败