WhatsApp Link Does Not Work on iOS

0

I'm developing a landing page where there will be an icon with a link to WhatsApp. I followed this tutorial .

http://api.whatsapp.com/send?1=pt_BR&phone=55XXXXXXXXXXX

On Android it works perfectly, as shown: However, in iOS it does not work, when the user clicks the link it is taken to the WhatsApp page in the App Store.

Is there any particularity in iOS? Does the link need to be done differently?

    
asked by anonymous 11.09.2018 / 08:52

1 answer

1

Strange, I use the same sharing link on a website and it works normally on the iPhone.

I even asked for a friend to test on her iPhone for a question and it's normal.

Just in case, try to use the new WhatsApp sharing URL:

https://wa.me/<NÚMERO NO FORMATO INTERNACIONAL>

Example: https&colon;//wa.me/5511999999999

If you want to send a ready message, the URL will be

https://wa.me/<NÚMERO NO FORMATO INTERNACIONAL>?text=<MENSAGEM CODIFICADA PARA URL>

Example: https&colon;//wa.me/5511999999999?text=OlaMundo

Another suggestion of the WhatsApp documentation is to use Share Extension and UIActivityViewController .

Try also to test on another iOS device. There is a minimal possibility of the problem being the device.

References

11.09.2018 / 10:02