[英]How to use mobile app into whatsapp share link?
How do you use an HTML link to open the whatsapp on a mobile app ? 您如何使用HTML链接在移动应用程序上打开whatsapp? this link works on website Example link: 此链接在网站上有效示例链接:
<a href="whatsapp://send?text=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F51533526%2Fhow-to-use-html-link-into-whatsapp-mobile-app%2F51533716%3Fnoredirect%3D1">Whatsapp Share </a>
This link is failing in the WhatsApp mobile app. WhatsApp移动应用程序中此链接失败。
This is the error message: 这是错误消息:
ERR_UNKNOWN_URL_SCHEME
I want to solve this problem on the front end side. 我想在前端解决这个问题。
似乎它没有被识别为有效的“ href”属性,请尝试使用有效的属性,然后看看会发生什么。
尝试
whatsapp://send?text=HeyThere!
试试这个解决方案:
whatsapp://send?text=message
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.