Thank you for this tutorial. You helped me a lot and it works. But I have a question. How many numbers can I send a message to? I noticed I can't send to more than three numbers.
Hello Rodolpho, You can send as much as you want I believe just put the right format and make sure they have a WhatsApp account. Also if you can please share video and subscribe, it will be really helpful for my channel and for future content!
is it possible to send a message to a number that is in the phonebook but the conversation has not started? in my tests this functionality did not work.
I am not sure, I haven’t tried that. It should be the same as doing it manually. If you can text them without them being in the phonebook, then you can do the same automatically
Hi bro! I tried it, it shows me "Sent" but the message never arrives. I tried with "+" and all the other options. Also I send t to the same numer I got on whatsapp but it never arrives. Could you please help me with this?
@@MichaelKitas I think the problem is with the "SEND" button... I followed all the process and everything works fine, but it doesn't "press send" after adding the message to the chat.
Hello, First of all, you have to turn off your virus and threat protection settings on your PC OR turn off your anti-virus, then install npm tools. Hopefully, it will work
Only by including a url from the image in the text. By the way, I would really appreciate if you subscribe if you haven't already. It will help my channel a lot.
Open WhatsApp > tap More options > Settings. Tap the QR icon displayed next to your name. Tap SCAN CODE. Hold your device over the QR code to scan. Tap ADD.
This wbm module uses puppeteer (A web scraping tool). If indeed it doesn't work as I haven't tried it yet, then you can code this module yourself. Check my tutorial series on puppeteer to learn how to automate these tasks: th-cam.com/play/PLuJJZ-W1NwdqgvE0D-1SMS7EpWIC5cKqu.html
Don't think so, though this tool is developed in puppeteer, you can check it's code and reverse-engineer it to add this feature yourself, if it doesn't already support it (check documentation)
Do you use a valid phone? Also, try first sending a message manually if it works then let me know. If it doesn't work manually It can't work with code either. Also try using different phone formats!
'npm' is not recognized as an internal or external command, operable program or batch file. this is what i got when i tried to do "npm init" in cmd, can u show me how to fix this??
After the installation,Please set a path for environment variables. 1: goto settings /environment variables 2:select path /browse/select your nodejs folder/npm/nodemodules/bin 3: apply changes
Thank you for this tutorial. You helped me a lot and it works. But I have a question. How many numbers can I send a message to? I noticed I can't send to more than three numbers.
Hello Rodolpho, You can send as much as you want I believe just put the right format and make sure they have a WhatsApp account. Also if you can please share video and subscribe, it will be really helpful for my channel and for future content!
Great video, hi from Ρέθυμνο ;)
is it possible to send a message to a number that is in the phonebook but the conversation has not started? in my tests this functionality did not work.
I am not sure, I haven’t tried that. It should be the same as doing it manually. If you can text them without them being in the phonebook, then you can do the same automatically
@@MichaelKitas this functionality does not work here.
@@leandroalves5061 Got it, thank you for pointing that out 👍
Hi bro! I tried it, it shows me "Sent" but the message never arrives. I tried with "+" and all the other options. Also I send t to the same numer I got on whatsapp but it never arrives. Could you please help me with this?
Does it work sending the message manually to the same number?
@@MichaelKitas yes it does
@@MichaelKitas I think the problem is with the "SEND" button... I followed all the process and everything works fine, but it doesn't "press send" after adding the message to the chat.
@@MichaelKitas I think before doing the “Enter”, you should put the cursor on the written text div. Could this be the solution?
Hey, Daniel! Try to set the session parameter to false inside wbm.start()
Like so: wbm.start(session = false)
Hey micheal when node index.js its stucked on authenticating.... any leads?
Same here. Could you solve it?
same
whatsapp can't ban the phone because of this? what will be the safe limit for sending messages? Amazing work.
It’s exactly the same as sending messages yourself
The code is running WhatsApp web in background so no issues really
I got banned from WhatsApp using a similar library after sending to around 40 numbers
@@mahmouds12 It’s using your account, it’s the same as if you were doing it through the app
Πολύ καλή δουλειά φίλε μ
Ευχαριστω πολυ!
this is showing that the messeage has sent successfully but actually message has not been sent. (on whatsapp application)
is the package is no more working?? I'd used it on 30th march
It won't work, if you can't send the message manually as well on that specific phone number
Amigo o meu as vezes vai e as vezes não vai sendo que é o mesmo código, porém aparece que foi enviado no painel sabe me ajudar ?
Yes, first make sure you can send a message manually to that phone, if it still doesn’t work can you share code?
@@MichaelKitas é o mesmo código do vídeo amigo
Hi,
Can you help me to sent the output on browser instead of console?
Sure, what programming language you use for the website?
@@MichaelKitas php
@@battlemanapp Oh, I have no experience with php. But to give you an idea you could make a request to nodejs and then send back the success data
hi it says errno: -4048 can you fix please ?
Can you share a screenshot of the whole error?
Hello, First of all, you have to turn off your virus and threat protection settings on your PC OR turn off your anti-virus, then install npm tools. Hopefully, it will work
Hi Michael. I need to send message from my FB chatbot. Is it possible somehow to send messages without manual scanning the QR-code?
If you make an api you can just scan it once and then you can make as many requests you want
@@MichaelKitas can you elaborate more?
I got a error while deploying into server ..... i got this "TypeError: process.stdout.clearLine is not a function" how to fix it?
I don't think this would work on a server though, do you mean a VM?
@@MichaelKitas yeah viral machine...
@@MizanurRahaman03 Windows?
@@MichaelKitas no it's Linux (Ubantu)
@@MizanurRahaman03 Try Windows, I don't think it will work normally in Linux
all the sent messages are getting failed.
const wbm = require('wbm');
wbm.start().then(async () => {
const phones = ['+919872******'];
const message = 'Good Morning.';
await wbm.send(phones, message);
await wbm.end();
}).catch(err => console.log(err));
Try to send a message manually on that number, if it doesn't work manually it won't work with the code either
Hi I am scanning but it is saying that check if it is a whatsapp web qr code. How to scan?
You should scan it like you scan in web version of WhatsApp
@@MichaelKitas Yes I am doing that with a new account on whatsapp
@@MichaelKitas It is saying cannot scan make sure youre on whatsapp web
@@damixes1355 can you send a screenshot?
Hi. How can I send a link in a message?
Yes
@Michal kitas Can we send images?
Only by including a url from the image in the text. By the way, I would really appreciate if you subscribe if you haven't already. It will help my channel a lot.
@@MichaelKitas hey Michael, I subscribed!!!
on ubuntu the QR-code is generated but not scanning by whatsapp
I haven't tried it in ubuntu, so I am not sure what the issue could be
I couldn't read the qrcode, do you know what it could be?
Go to WhatsApp Linked Devices tab and click Link Device. That’s the only way to scan the qr code correctly
My terminal is stuck on Authenticating. What should I do
any solution u got?
@@mohitpunia5527 No.
@@mohitpunia5527 no
Hey Michal I tried all steps as given by you but everytime results failed.
I tried with country code India 91.
Please suggest any solutions.
Is the phones valid? Try and put a + sign at the front of the number
@@MichaelKitas yes, I tried same but same results
Is it possible for you to share code, maybe I can help debug and we can fix the problem 😀
@@ricardofagmer_ I can’t seem to replicate he’s error.
The Qr is not being scanned what to do next
You need to scan it with the web WhatsApp scanner
@@MichaelKitas how can we send messages to groups
@@akshaybarya3378 I don’t think it’s possible with that plugin
How to send attachment
I am not sure that it's possible with this module but you can check more about it here: www.npmjs.com/package/wbm
is there another way of authenticating rather than qr?
how show qr code to website with qr code refresh on any secon
Check more about the module here: www.npmjs.com/package/wbm
why when i use cannot send , i use Malaysia code country but cannot send
Make sure you are able to send manually using that phone number in the first place.
Hello, How to scan qr code, I couldnt with my whatsapp app
Open WhatsApp > tap More options > Settings.
Tap the QR icon displayed next to your name.
Tap SCAN CODE.
Hold your device over the QR code to scan.
Tap ADD.
hey, thanks for making this video
This not working with nestjs ?!
It's for nodejs, don't think it works with other frameworks
how to show this qrcode to our own web page without terminal
This module can give you a qrcode in string which you can request then with that string you can generate a qrcode on the website and scan it
I have done it already, let me know if I should make a video on that
@@MichaelKitas plz make.
@@MichaelKitas plz make video
@@anshuvishwakarma6020 I have made the video for that
can we send a single message to many people?
not received any message but in node js showing sent message.
Make sure you can message this number manually as well
Hey, Ravi! Try to set the session parameter to false inside wbm.start()
Like so: wbm.start(session = false)
Is it possible to send images or videos?
Yes, but I think only if you send a link which will automatically show the image/video afterwards.
not working for indian numbers... pls help
Try sending manually if it doesn’t work then API doesn’t either
@@MichaelKitas Manually ..it's working
but it is not taking +91 country code
so now what to do
@@MichaelKitas pls help.
can you actualy send to multiple people? Mine only sent to 2 persons
Yeah, you can do as many as you want. You just have to put them into the array with the phone numbers. If that didn't work let me know!
@@MichaelKitas it didn't work. I have put the number in the array. Can you help me?
@@dhinewarlords5605 Sure, can you share code?
@@MichaelKitas const wbm = require('wbm');
wbm.start().then(async () => {
const phones = [ "+6281339999559", "+628122997712", "+628156110110", "+62811295959", "+62811284282", "+6281228317136", "+6281329153702"];
const message = 'Tes';
await wbm.send(phones, message);
await wbm.end();
}).catch(err => console.log(err));
@@MichaelKitas const wbm = require('wbm');
wbm.start().then(async () => {
const phones = [ "+6281339999559", "+628122997712", "+628156110110", "+62811295959", "+62811284282", "+6281228317136", "+6281329153702"];
const message = 'Tes';
await wbm.send(phones, message);
await wbm.end();
}).catch(err => console.log(err));
Nice video bro
But this message send i didn't saw in my WhatsApp
Are you sure you checking the correct contact? And does that contact exists?
Hi, Pratik! Try to set the session parameter to false inside wbm.start()
Like so: wbm.start(session = false)
can we send image or pdf?
Awesomeeeeeeeeeeeeeeeee!!!!
Hello Sir, I tried this and even though the output says 1 sent, I cannot see the message on whatsapp
If you do it manually can you send the same contact the same message?
Hello Shaikh! Try to set the session parameter to false inside wbm.start()
Like so: wbm.start(session = false)
has how to send image?
It doesn't, but you can use Cloudinary to upload files and then get a URL which you can share instead
I think this wbm module no longer works
This wbm module uses puppeteer (A web scraping tool). If indeed it doesn't work as I haven't tried it yet, then you can code this module yourself. Check my tutorial series on puppeteer to learn how to automate these tasks: th-cam.com/play/PLuJJZ-W1NwdqgvE0D-1SMS7EpWIC5cKqu.html
How to upload it to hosting?
You can use heroku which is free
@@MichaelKitas I have personal hosting,but i don't know to upload it.Do you have the tutorial?
@@rzq8896 th-cam.com/video/gPOa0LvIwHQ/w-d-xo.html
node responds with nothing can you help me???
Can you share code?
@@MichaelKitas oh thanks but i got it i forgot to save file 🙃
@@MichaelKitas and you get a sub for being so helpful thank you very much
@@Hamoody25 I am glad you could figure it out 🙂
@@Hamoody25 Thank you, a lot 🙂
i have a question can we get the replies too and how?
Don't think so, though this tool is developed in puppeteer, you can check it's code and reverse-engineer it to add this feature yourself, if it doesn't already support it (check documentation)
This is not working at all reply asap
Do you use a valid phone? Also, try first sending a message manually if it works then let me know. If it doesn't work manually It can't work with code either. Also try using different phone formats!
It doesn't work in India, zukooobug loves Indian users too much
@@MichaelKitas it doesnt work in Kazakhstan
Is still working?
Hello sir. Lots of love and thanks to you! Can you please tell me whether we can send stickers also?
You will need to find the corresponding code for that sticker maybe unicode type or something like that
E a PF, amigo?
What do you mean?
Only first time message sent to a number.. second time didn't sent to the same as well on to the other number
Maybe they blocked you? Try sending manually and see if it works
Any whatsapp bans
Unless you spam messages, it doesn't matter, it's same as using it manually.
'npm' is not recognized as an internal or external command,
operable program or batch file. this is what i got when i tried to do "npm init" in cmd, can u show me how to fix this??
Hello, you need to download NodeJS. Visit this link here: nodejs.org/en/download/
After the installation,Please set a path for environment variables.
1: goto settings /environment variables
2:select path /browse/select your nodejs folder/npm/nodemodules/bin
3: apply changes
desnt work
It doesn’t work in all countries
@@MichaelKitas What is the solution
@@iq9551 Not sure, maybe VPN or use a working WhatsApp number (For example indian phones are not working)
@@MichaelKitas Not work for me. Colombia
Thanks for the info. I give you a gift see u
Happy to help you!
Hi sir , I tried to send a message and the output show me "1 sent", but I did not get the message on whatsapp !!
Try sending it manually, if it doesn’t work then neither it will with the script
Hello, Mona! Try to set the session parameter to false inside wbm.start()
Like so: wbm.start(session = false)