Whatsapp link does not work on iOS

Asked

Viewed 4,491 times

0

I’m developing a Landing page where there will be an icon with link to Whatsapp. Follow this tutorial.

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

On Android works perfectly, as per image: enter image description here However, iOS does not work, when the user clicks the link it is taken to the Whatsapp page in the App Store.

Is there something special about iOS? The link needs to be done differently?

2 answers

2


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

I even asked, just now, for a friend to test on her iPhone to ask questions and everything is normal.

Because of the doubts, tries to use the new Whatsapp sharing URL:

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

Example: https://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://wa.me/5511999999999?text=OlaMundo

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

Also try testing on another iOS device. There is a minimum possibility of the problem being the device.

References

  • I tested with the following https://wa.me/555499999999?text=test and it didn’t work on iPhone.

  • Weird, it should work. Doesn’t work on any iPhone or is it on a specific device? Here these links work normally. Take a look at the links I left in the reply, are the official documentation of Whatsapp.

1

For some reason something has changed on the Whatsapp web page which is the link it opens first (this may have to do with Safari) when you open the web page before clicking "send message" araste the page down come if you were to update, you will see that will appear the option of "open in app whatapp" just click there and it will open Whatsapp on the message sending screen... I hope I’ve helped.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.