Closed Amaimersion closed 4 years ago
Ah, interesting!
Thanks for finding this, I'm going to take a closer look. I can confirm, wa.me needs the number to work, but api.whatsapp.com does not. I suspect this is a bug on their part, but it is worth checking out.
Fortunately, we list the good URL first on the doc page, and then the wa.me URL.
Check this out:
I am using following code but its not working.. https://wa.me/?text=urlencodedtext
Seems like WhatsApp knows, but just doesn't care. I'll update the docs.
It is strange to see such attitude from such big company as Facebook :/
I used https://wa.me/?text=text
about 9 months ago in my app, and it perfectly worked. Issue on SO addressed 11 months ago. It looks like things on WhatsApp side breaks from time to time, like in any ordinary app (:
I'll update the docs.
Yes, you definitely should point this in documentation.
Documentation has been updated! Thanks again for the info!
It is worked earlier:
https://wa.me/?text=text
, but at the moment it is not working anymore. If i add phone number in this link, then everything is alright:https://wa.me/8976?text=text
.This big link
https://api.whatsapp.com/send?text=text
works without phone number.