php – Open WhatsApp when clicking on the icon


Does anyone know how to make that when clicking the WhatsApp icon on a website by smartphone , any function opens the application and already start a conversation at the number defined in the website link ?

Imagine an icon that says "WhatsApp service 9988-7755" and when you click there, start a WhatsApp conversation directly on that xxxx-xxxx number? Any idea?


<a href="intent://send/NUMERO_TELEFONE#Intent;scheme=smsto;package=com.whatsapp;action=android.intent.action.SENDTO;end">
<img src="img/whatspng.png"></a>
Scroll to Top