whatsapp shareable link creation

Jul 19 2018 1:18 AM
hello everyone, 
 
I have created one button  , the purpose of the button is to share a link as a whatsapp message to anyone.
 
when someone open the message (that link) it will redirect to their mobile default browser.
 
The message would not go from a particular mobile  number also.
 
for example i have written code :
-------------------------------CSS-------------- 
.btnStyle
{
height:45px;
width:45px;
border-radius:50%;
color:green;
border:none;
outline:none;
background-color:transparent;
}
 
 
--------------------------------------------HTML---------- 
 
<br />
share in whatsapp
<a type="button" class=" btnStyle" href="https://www.c-sharpcorner.com/"><i class="fa fa-2x fa-whatsapp"></i></a>
 
 
--------------------------------------------------------------------------------  
 
The behaviour of the button would be shareable, and the message would be the link, in this case https://www.c-sharpcorner.com/
 
Can any one explain me how to achive like this functionality.
 
 

Answers (1)