Send Whatsapp message by link on the site

Asked

Viewed 2,726 times

5

I would like to know how to send a message by a link to a certain number. I have already managed to Android, but for iPhone doesn’t work.

Link:

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

2 answers

1

For use on iPhone, use this format:

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

1

You can also create a link using the Whatsapp API and determine what the target number is. It also works with desktop applications:

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

Important: Country code (55) and DDD must be entered.

Browser other questions tagged

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