我正在使用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
任何帮助,谢谢。预先感谢。
让我们看一下Official Whatsapp Share URL Documentation。这些格式应该可以工作...
https://api.whatsapp.com/send?text=YourShareTextHere
https://api.whatsapp.com/send?text=YourShareTextHere&phone=123
所有这些似乎今天都可以使用!也许出了什么问题?
如果您有兴趣观看跟踪这些URL的项目,请查看我们!:https://github.com/bradvin/social-share-urls#whatsapp