Whatsapp API integration with example (simplest integration method)

Whatsapp API integration with the example (simplest integration method)
Today I have seen that some new or beginner developer or designer have so much confusion with WhatsApp API integration on our website. Many times they think its tuff or how we can integrate WhatsApp API In our website or how can I send the particular or custom message on WhatsApp for a particular number So Let’s start

1. Whatsapp API integration in anchor tag

<a href="https://api.whatsapp.com/send?phone=+91987654321"> Whatsapp </a>


Just simply no need to do other special work using upper this link you can send /open that WhatsApp



2. Send a message on WhatsApp number using WhatsApp API

    <a href="https://api.whatsapp.com/send?phone=+91987654321&text=Hello%20friends%20i%20am%20neeraj"> Whatsapp API with custom message </a>

So here just need to &text= only

How do I add an HTML code to my website so that when people click it, it opens a WhatsApp conversation with me?

Now I think you got the exact answer of this type of question.

Now many time some person ask this question how to integrate Whatsapp API in asp.net  c#?
Very simple if we are using asp.net or PHP or any other language and we have some particular number or fixed number then we can change the anchor tag into server type and call the WhatsApp API. (I am discussing only simple way)
Source code:-


<a runat="server" id="whatsapp" href="#"> Whatsapp API with custom Message </a>
  
Code Behind:-
whatsapp.HRef="https://api.whatsapp.com/send?phone=+91987654321&text=Hello%20friends%20i%20am%20neeraj";

Now IF you also use WhatsApp API for hyperlink or linkbutton, just need to call it.
If you have any other query related WhatsApp API or other any issues or problem please comment me or drop me an email id: srinickraj@gmail.com if you like this post please page our Facebook or my daily update you can also follow me on google plus




Whatsapp API integration with example (simplest integration method) Whatsapp API integration with example (simplest integration method) Reviewed by NEERAJ SRIVASTAVA on 1:28:00 AM Rating: 5

No comments:

Powered by Blogger.