How to add whatsapp share button ?
Any one has added whatsApp share button besides FB share button ?
Please let me know how to achieve that. Sharethis button have that facility but I don't want to use third party code. https://www.sharethis.com/best-practices/2017/05/3-reasons-to-have-whatsapp-share-button/ |
Re: How to add whatsapp share button ?
**BUMP**
No one is using whatsapp share button ??!! |
Re: How to add whatsapp share button ?
I guess only a few use it because WhatsApp has to be installed on the computer for the button to work.
Here is their documentation: https://faq.whatsapp.com/en/android/28000012 It has a sample "Share" link that doesn't work on my computer because I have no WhatsApp installed there. |
Re: How to add whatsapp share button ?
Hi Alex,
I have added following code for whatsapp share button Quote:
|
Re: How to add whatsapp share button ?
Have you tried...
Code:
<a href="whatsapp://send?text={$current_location}/{$canonical_url}" data-action="share/whatsapp/share">Share via Whatsapp</a> |
Re: How to add whatsapp share button ?
Quote:
But it's still generating PHP url :( |
Re: How to add whatsapp share button ?
Maybe...
Code:
<a href="whatsapp://send?text={$http_location}{$smarty.server.REQUEST_URI}" data-action="share/whatsapp/share">Share via Whatsapp</a> |
Re: How to add whatsapp share button ?
Quote:
This code is creating html url but it's generating directory name 2 times. But good thing is that following code is working perfectly Quote:
|
All times are GMT -8. The time now is 07:19 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.