Skip to content
This repository has been archived by the owner on Jun 26, 2020. It is now read-only.

code for starting whatsapp conversation (not sharing) #63

Open
dogo1961 opened this issue Oct 26, 2016 · 0 comments
Open

code for starting whatsapp conversation (not sharing) #63

dogo1961 opened this issue Oct 26, 2016 · 0 comments

Comments

@dogo1961
Copy link

I found out that the code for starting a whatsapp conversation (not sharing), which was the objective on my website, is:
"intent://send/1234567890#Intent;scheme=smsto;package=com.whatsapp;action=android.intent.action.SENDTO;end" data-text="Contact via Whatsapp" data-href="" class="wa_btn wa_btn_m" style="display:none">Whatsapp"

This is the code that should be typed after the a href and (of course) the code should be finalized with the /a between< > (if I write the code down literally, it shows as a weblink on this forum).

substitute "1234567890" with your (mobile) telephone number, and there you go.
The whatsapp-button.js should (of course) be and redirected in/to the right map on your server.
It took me a while to find this out via Google and to get it working, but it WORKS. I hope to have been of some help to some people here on this forum

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant