iam试图使用UAE的电话号码从html网页连接whatsapp。Html链接被工作并重定向到WhatsApp。但显示错误信息是..。
“通过url共享的电话号码无效”
电话号码是:- 509626914
代码
<a href="https://api.whatsapp.com/send?phone=971509626914&text=Can%20I%20know%20more%20about%20your%20service.." target='_blank' class="float">
<i class="fa fa-whatsapp my-float"></i>
</a>发布于 2021-12-29 11:59:09
我已经用我的手机号码进行了测试,并且正在工作,您可以尝试使用最小的地址:
别忘了所有关于电话号码的规定:
+{country_code} {state_code} {number}
在巴西,+55 48 9 1234 5678必须是5548912345678
发布于 2021-12-29 11:59:47
解决方案1
<a href="whatsapp://send?abid=phonenumber&text=Hello%2C%20World!">Send Message</a>解决方案2
<a href="intent://send/phonenumber#Intent;scheme=smsto;package=com.whatsapp;action=android.intent.action.SENDTO;end">Send Message</a>解决方案3
<a href="https://api.whatsapp.com/send?phone=15551234567">Send Message</a>https://stackoverflow.com/questions/70518969
复制相似问题