Whatsapp API Tricks

WhatsApp's click to chat feature allows you to begin a chat with someone without having their phone number saved in your phone's address book.

Link to whatsapp

example:

<a href="https://wa.me/+919747406685"> Whatsapp ME </a>

Live : Whatsapp ME

Link with prefilled mesasge

syntax:
https://wa.me/?text=urlencodedtext

example:
https://wa.me/+919747406685?text=Hello%20how%20are%20you

Live: Whatsapp me

share text through whatsapp on click

<a href="whatsapp://send?text=I'm%20interested%20in%20your%20car%20for%20sale">share through whatsapp</a>

live: share through whatsapp