The first step for Whatsapp business API integration node.js is to install the module. So, open Console and type the below command.
npm install twilio
For Whatsapp business API integration in C sharp you need to have tokens. Next step is to sign up to twilio account and get twilio accountSID and AuthToken . It is 10 minute process as you need to verify your Whatsapp phone number too.
Go to site:https://www.twilio.com/
Signup, enter your phone number and other basic details and you would get credentials on the console screen, pretty straight forward!
Now, let’s begin coding! Add the following code to your node.js application
Note for Sandbox model from would remain to be twilio number from which you would even receive verification code on Whatsapp mobile, and also write phone number with the international code as above otherwise it would throw exception.
on console run the node application and you should receive Whatsapp message on your device.
And, verifying business account is the last step how cool is that thanks to Twilio:P and it isn’t even sponsored post so!. But remember you can’t use sandbox on production also just a few test messages are allowed. Make sure to verify the business account following the official link and you got to be patient with this process.
That was a short and complete guide on the Whatsapp business API integration Node.js Application. Hope it helps 🤓
There is a big form to fill and verify detail of the owner as it contains sensitive information.
There are infact, and you can definitely use any.
Yes. But the account must be verified before itself.
About 2 hours to place the code.
Short and concise:)