Javascript whatsapp共享按钮-共享url不正确
我正在我的网站上添加共享按钮,我的共享URL有一些参数。但是,在电话中,URL中的额外参数将被忽略 我的按钮:Javascript whatsapp共享按钮-共享url不正确,javascript,angularjs,whatsapp,Javascript,Angularjs,Whatsapp,我正在我的网站上添加共享按钮,我的共享URL有一些参数。但是,在电话中,URL中的额外参数将被忽略 我的按钮: <a class='whatsapp-icon' href='whatsapp://send?text=https://www.exmaple.com/#/lat=10.11,long=20.11'></a> 当我在网页链接中打开此链接时,所有参数都可以正常打开,但在电话链接中,只有www.exmaple.com和参数“/lat=10.11,long=20.1
<a class='whatsapp-icon' href='whatsapp://send?text=https://www.exmaple.com/#/lat=10.11,long=20.11'></a>
当我在网页链接中打开此链接时,所有参数都可以正常打开,但在电话链接中,只有www.exmaple.com和参数“/lat=10.11,long=20.11”在共享窗口中被忽略
这是angular 1.xx网页,其中有共享按钮。您需要清理anchor href。在这里,您可以找到问题的解决方案: 继续摇 最新的方法
@kumarkundan:那么最新的方法是什么呢?问题是AngularJS,而不是AngularJS
<a *ngIf="isWhatsAppIconVisible" href="https://api.whatsapp.com/send?text=check out this link : {{shareableUrl}}" data-action="share/whatsapp/share">
<img src="assets/whatsapp.png" alt="whatsapp" />
</a>