15

What I am trying to do is to open a link in the WhatsApp web app, it works in Chrome but in FF and IE, doesn't.

Firefox:

  • this is the link https://api.whatsapp.com/send?phone=[phone number], when the link loads it beign redirected to this link whatsapp://send/?phone= [phone number]

enter image description here

Internet Explorer 11

  • when I try to open the link in IE11 I am asked to allow an app to be opened

enter image description here

3
  • Where did you get this link from? And what do you believe you will get if you successfully follow the link? Commented May 17, 2017 at 15:44
  • I got the link from here whatsapp.com/faq/en/general/26000030 and what it do at least in Chrome is to open the web app and start a chat with the phone you passed as parameter in the URL. Actualy I found a solution to the problem as I changed api part in the URL with web and it works only in IE there is a massage for browser incompatibility and in IE Edge there is a message for upgrading you version to 13+
    – ivayloc
    Commented May 17, 2017 at 16:04
  • Workaround Commented Jul 6, 2018 at 6:57

1 Answer 1

25

The solution here is to replace the api part with web, so your URL will look like this https://web.whatsapp.com/send?phone= [phone number]

6
  • 5
    Yes, but if you change api for web, then it won't work in mobiles.
    – Andrea
    Commented Aug 23, 2017 at 1:45
  • 1
    Awesome... Thank you very much! Commented Jan 5, 2018 at 19:37
  • also if it is onetime thing, you can use this tool whatsapp.akarsh.me Commented Mar 22, 2018 at 16:51
  • 1
    Thanks for the "trick", ahahaha. My hero... Commented Aug 7, 2019 at 0:46
  • thanks. solved!
    – acgbox
    Commented Jun 3, 2020 at 14:00

Not the answer you're looking for? Browse other questions tagged or ask your own question.