Skip to content

Instantly share code, notes, and snippets.

@mrquincle
Last active October 16, 2025 05:25
Show Gist options
  • Save mrquincle/29d9c243dccde6d450b729c365cf2541 to your computer and use it in GitHub Desktop.
Save mrquincle/29d9c243dccde6d450b729c365cf2541 to your computer and use it in GitHub Desktop.
Whatsapp

Check different ways

API way:

API

Wa.me

Wa.me

Or:

Whatsapp protocol

<a href="whatsapp://send?phone=0031103073955&text=I%20would%20like%20to">Whatsapp protocol</a>

This doesn't show up as a clickable link due to github (starts with whatsapp://). Worse, it does not accept a phone parameter.

This is recommended on https://faq.whatsapp.com/android/im-an-android-developer-how-can-i-integrate-whatsapp-with-my-app but it doesn't work.

Or for Android users (start with intent://):

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

Whatsapp intent

Try for example on https://www.w3schools.com/html/tryit.asp?filename=tryhtml_intro

Nothing of the above works. However! If you first go to Firefox on your mobile phone, Settings, Advanced, and Open links in apps. See https://support.mozilla.org/en-US/kb/set-firefox-android-open-links-native-apps. Then it works! Use a plus sign rather than 00 for the country code:

API

@whatsplusinfo-rgb
Copy link

This gist provides a neat summary of different WhatsApp URI methods it’s a helpful reference for developers integrating messaging actions. I especially like how you’ve highlighted the caveats (for instance, how whatsapp:// links may not always appear clickable or work consistently in all browsers). Open links in apps In the broader ecosystem of WhatsApp enhancements and customizations, there’s always demand for more tools and insights which is why I’ve been documenting APKs.
.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment