Sharing link on WhatsApp from mobile website and not application for Android

0 votes

I want to allow users in my website to share information directly from the web page into WhatsApp.

Using UserAgent detection I can distinguish between Android and iOS.
i discovered that I can use the URL:

href="whatsapp://send?text=http://www.example.com"

I'm still looking for the solution to be used when the OS is Android which is not working. any suggestion?

Jun 1 in Others by polo
• 1,500 points
67 views

1 answer to this question.

0 votes

 the link is correct according to new documentation:

<a href="https://wa.me/?text=urlencodedtext">Share this</a>

If it doesn't work, try this one :

<a href="whatsapp://send?text=urlencodedtext">Share this</a>
answered Jun 1 by nisha
• 2,180 points

Related Questions In Others

0 votes
2 answers
0 votes
1 answer

How to open the Google Play Store directly from my Android application?

By using developer.andriod.com, one can solve this ...READ MORE

answered Feb 8 in Others by Rahul
• 9,000 points
23 views
0 votes
1 answer

How to import data from a HTML table on a website to excel?

Hello  To import any HTML file in excel there ...READ MORE

answered Feb 10 in Others by gaurav
• 17,760 points
69 views
0 votes
1 answer

How to take a screenshot of a current Activity and then share it?

For me, I captured and then shared ...READ MORE

answered Feb 8 in Others by Soham
• 8,740 points
19 views
0 votes
1 answer

Provide an image for WhatsApp link sharing

the problem is with the size of ...READ MORE

answered Feb 28 in Others by narikkadan
• 11,280 points
1,740 views
0 votes
1 answer

Tableau dashboard for mobile/tablets

To make a dashboard mobile with Tableau, ...READ MORE

answered Apr 5 in Tableau by Neha
• 8,740 points
50 views
0 votes
0 answers

NullPointerException: Attempt to invoke virtual method 'int java.util.ArrayList.size()' on a null object reference

The  Fragment where I have my List View: public class RecordingListFragment ...READ MORE

May 8 in Others by Kichu
• 19,040 points
470 views
0 votes
2 answers

Code for download video from Youtube on Java, Android

Check the source code (HTML) of YouTube, ...READ MORE

answered Jun 9 in Others by nisha
• 2,180 points
191 views
0 votes
1 answer
webinar REGISTER FOR FREE WEBINAR X
Send OTP
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP