How to send Whatsapp messages in Node JS for FREE!

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
hello everyone welcome to my video i'm mike and today we're gonna learn how to send message through whiteshop in node.js so before we start the video make sure to click the like button it helps youtube algorithm a tone and subscribe so you don't miss any future videos [Music] video we're gonna use a module called wbm you can download it through npm so if we go here you'll see the documentation it's pretty simple actually so let's start off by creating a node.js app so i have a folder called whatsapp i'm gonna open the command line as you see and i'm gonna do npm init to start to build actually node.js app so if we click enter don't want to change any of that great so in my editor i already have it open i'll create index.js app and first of all we're going to download some modules so we will download a module the module we're going to use to send the messages so mpm install wbm we downloaded the module successfully now if we go back to the documentation i'll just copy paste the code to my app and for now let's just try it out i'll use my friend's phone for now so remember use the country code first don't forget to use the country code and then the number on the phone otherwise it might not send a message and it will sell you a failed message so first of all we will try to send a message successfully in the right phone number so if i type it out i'm gonna send a message hello there it's that simple you can it's an array so you can use multiple numbers and send the same message so if we run the app right now let me open another command line so if i do node index.js first of all uh it needs to login with your computer so i'll just delete this google because if you have any google pages it will not work because it needs to use your google page to sign in so if we scan the code with our app real quick yeah i actually forgot i actually wrote the wrong number so as you see if you wrote the wrong number it will sell you a failed message like one phone failed one equals the one phone number so one failed zero cent so now that i wrote the correct number if we rerun the code and now i don't think it will need us to scan the code again because it saves the session id the session key call it whatever you want um it saves it locally and we reuse the same session unless you log out from the web and no need to log in again so as you see we actually send the message successful now so if i visit the web browser go to web.whatsapp.com i might need to log in yeah and until again so if i scan the code real quick just don't forget when you use the app don't be looking on the google because it will so errors and yeah it will not work it might not work the most times so if we go here you'll see we successfully sending the hello there message
Info
Channel: Michael Kitas
Views: 65,672
Rating: undefined out of 5
Keywords: whatsapp node, whatsapp node js, whatsapp nodejs bot, whatsapp node js api, whatsapp node js integration, nodejs whatsapp group, nodejs whatsapp web, nodejs whatsapp clone, twilio whatsapp node js, send whatsapp nodejs, whatsapp business node js, whatsapp business api nodejs, whatsapp bot api nodejs, whatsapp clone nodejs, whatsapp chatbot nodejs, enviar whatsapp desde nodejs, whatsapp node js example, whatsapp from nodejs, whatsapp api github nodejs, grupo whatsapp nodejs
Id: c0PuGJW2yz8
Channel Id: undefined
Length: 4min 59sec (299 seconds)
Published: Sun Oct 11 2020
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.