Send message Whatsapp by link on site

5

I'd like to know how to send a message by link to a certain number. I've already been able to do it for Android , but for iPhone it does not work.

Link:

<a href="intent://send/123456789#Intent;scheme=smsto;package=com.whatsapp;action=android.intent.action.SENDTO;end">
    
asked by anonymous 07.07.2015 / 14:54

2 answers

1

For use on iPhone, use this format:

whatsapp://send?text=Texto da mensagem com link http://google.com

    
24.02.2016 / 14:57
1

You can also create a link using the WhatsApp API and determine the destination number. It also works with desktop applications:

<a href="https://api.whatsapp.com/send?phone=5511999999999">Enviar mensagem</a>

Important: You need to enter the country code (55) and the DDD.

    
30.05.2017 / 14:27