有什么方法可以直接打开watsapp聊天窗口而不在Ionic v3中的watsapp页面上显示共享?

问题描述 投票:0回答:1

我正在使用WhatsApp API在Ionic V3中打开WhatsApp应用程序。此前,一切正常。现在,当我单击聊天按钮时,它会显示附加页面,其中显示“ WhatsApp上的消息+91 xxxxxxxxx”和绿色按钮“消息”。然后,我必须单击此绿色按钮以打开WhatsApp应用程序。有什么办法可以跳过这个。

这是我正在使用的WhatsApp API:https://api.whatsapp.com/send?phone=91xxxxxxxxxx

我也尝试过:https://wa.me/15551234567

这是我得到的附加页面:https://drive.google.com/file/d/1acmF1GZsJFyRjuE_oKc_a8-feSpC75ed/view?usp=sharing

任何帮助,谢谢。预先感谢。

android angular google-chrome ionic3 whatsapp
1个回答
0
投票

让我们看一下Official Whatsapp Share URL Documentation。这些格式应该可以工作...

https://api.whatsapp.com/send?text=YourShareTextHere

https://api.whatsapp.com/send?text=YourShareTextHere&phone=123

https://api.whatsapp.com/send?phone=123

所有这些似乎今天都可以使用!也许出了什么问题?

如果您有兴趣观看跟踪这些URL的项目,请查看我们!:https://github.com/bradvin/social-share-urls#whatsapp

Social Share URLs

© www.soinside.com 2019 - 2024. All rights reserved.