How to send Whatsapp messages in Node JS for FREE!

แชร์
ฝัง
  • เผยแพร่เมื่อ 12 ธ.ค. 2024

ความคิดเห็น • 203

  • @rodolphobabatounde6711
    @rodolphobabatounde6711 3 ปีที่แล้ว +4

    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.

    • @MichaelKitas
      @MichaelKitas  3 ปีที่แล้ว +2

      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!

  • @JeanPaulmex
    @JeanPaulmex 3 ปีที่แล้ว +2

    Great video, hi from Ρέθυμνο ;)

  • @leandroalves5061
    @leandroalves5061 3 ปีที่แล้ว +2

    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.

    • @MichaelKitas
      @MichaelKitas  3 ปีที่แล้ว

      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

    • @leandroalves5061
      @leandroalves5061 3 ปีที่แล้ว +1

      @@MichaelKitas this functionality does not work here.

    • @MichaelKitas
      @MichaelKitas  3 ปีที่แล้ว +1

      @@leandroalves5061 Got it, thank you for pointing that out 👍

  • @danielnunziante
    @danielnunziante 2 ปีที่แล้ว +3

    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
      @MichaelKitas  2 ปีที่แล้ว +1

      Does it work sending the message manually to the same number?

    • @danielnunziante
      @danielnunziante 2 ปีที่แล้ว

      @@MichaelKitas yes it does

    • @danielnunziante
      @danielnunziante 2 ปีที่แล้ว

      @@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.

    • @danielnunziante
      @danielnunziante 2 ปีที่แล้ว

      @@MichaelKitas I think before doing the “Enter”, you should put the cursor on the written text div. Could this be the solution?

    • @fabiano8888
      @fabiano8888 2 ปีที่แล้ว +1

      Hey, Daniel! Try to set the session parameter to false inside wbm.start()
      Like so: wbm.start(session = false)

  • @MustafaMazhar-uq2jp
    @MustafaMazhar-uq2jp 7 หลายเดือนก่อน +1

    Hey micheal when node index.js its stucked on authenticating.... any leads?

  • @Hugo.Digital
    @Hugo.Digital 3 ปีที่แล้ว +4

    whatsapp can't ban the phone because of this? what will be the safe limit for sending messages? Amazing work.

    • @MichaelKitas
      @MichaelKitas  3 ปีที่แล้ว

      It’s exactly the same as sending messages yourself

    • @adeyanjusegunsamuel2686
      @adeyanjusegunsamuel2686 3 ปีที่แล้ว

      The code is running WhatsApp web in background so no issues really

    • @mahmouds12
      @mahmouds12 3 ปีที่แล้ว +1

      I got banned from WhatsApp using a similar library after sending to around 40 numbers

    • @MichaelKitas
      @MichaelKitas  3 ปีที่แล้ว +1

      @@mahmouds12 It’s using your account, it’s the same as if you were doing it through the app

  • @michail-sygk
    @michail-sygk 3 ปีที่แล้ว +1

    Πολύ καλή δουλειά φίλε μ

    • @MichaelKitas
      @MichaelKitas  3 ปีที่แล้ว

      Ευχαριστω πολυ!

  • @suryangupta3845
    @suryangupta3845 8 หลายเดือนก่อน +2

    this is showing that the messeage has sent successfully but actually message has not been sent. (on whatsapp application)

    • @suryangupta3845
      @suryangupta3845 8 หลายเดือนก่อน

      is the package is no more working?? I'd used it on 30th march

    • @MichaelKitas
      @MichaelKitas  7 หลายเดือนก่อน

      It won't work, if you can't send the message manually as well on that specific phone number

  • @LeonardoBradoksOficial
    @LeonardoBradoksOficial 3 ปีที่แล้ว +1

    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 ?

    • @MichaelKitas
      @MichaelKitas  3 ปีที่แล้ว

      Yes, first make sure you can send a message manually to that phone, if it still doesn’t work can you share code?

    • @LeonardoBradoksOficial
      @LeonardoBradoksOficial 3 ปีที่แล้ว

      @@MichaelKitas é o mesmo código do vídeo amigo

  • @battlemanapp
    @battlemanapp 3 ปีที่แล้ว +1

    Hi,
    Can you help me to sent the output on browser instead of console?

    • @MichaelKitas
      @MichaelKitas  3 ปีที่แล้ว

      Sure, what programming language you use for the website?

    • @battlemanapp
      @battlemanapp 3 ปีที่แล้ว

      @@MichaelKitas php

    • @MichaelKitas
      @MichaelKitas  3 ปีที่แล้ว

      @@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

  • @hooyo1435
    @hooyo1435 3 ปีที่แล้ว +2

    hi it says errno: -4048 can you fix please ?

    • @MichaelKitas
      @MichaelKitas  3 ปีที่แล้ว

      Can you share a screenshot of the whole error?

    • @kumarsunny5534
      @kumarsunny5534 3 ปีที่แล้ว

      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

  • @sierioha
    @sierioha 3 ปีที่แล้ว +2

    Hi Michael. I need to send message from my FB chatbot. Is it possible somehow to send messages without manual scanning the QR-code?

    • @MichaelKitas
      @MichaelKitas  3 ปีที่แล้ว

      If you make an api you can just scan it once and then you can make as many requests you want

    • @shivankbatra5643
      @shivankbatra5643 ปีที่แล้ว

      @@MichaelKitas can you elaborate more?

  • @MizanurRahaman03
    @MizanurRahaman03 ปีที่แล้ว +1

    I got a error while deploying into server ..... i got this "TypeError: process.stdout.clearLine is not a function" how to fix it?

    • @MichaelKitas
      @MichaelKitas  ปีที่แล้ว

      I don't think this would work on a server though, do you mean a VM?

    • @MizanurRahaman03
      @MizanurRahaman03 ปีที่แล้ว

      @@MichaelKitas yeah viral machine...

    • @MichaelKitas
      @MichaelKitas  ปีที่แล้ว

      @@MizanurRahaman03 Windows?

    • @MizanurRahaman03
      @MizanurRahaman03 ปีที่แล้ว

      @@MichaelKitas no it's Linux (Ubantu)

    • @MichaelKitas
      @MichaelKitas  ปีที่แล้ว

      ​@@MizanurRahaman03 Try Windows, I don't think it will work normally in Linux

  • @vaibhavkumar9878
    @vaibhavkumar9878 3 ปีที่แล้ว +3

    all the sent messages are getting failed.

    • @vaibhavkumar9878
      @vaibhavkumar9878 3 ปีที่แล้ว

      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));

    • @MichaelKitas
      @MichaelKitas  3 ปีที่แล้ว

      Try to send a message manually on that number, if it doesn't work manually it won't work with the code either

  • @damixes1355
    @damixes1355 3 ปีที่แล้ว +1

    Hi I am scanning but it is saying that check if it is a whatsapp web qr code. How to scan?

    • @MichaelKitas
      @MichaelKitas  3 ปีที่แล้ว

      You should scan it like you scan in web version of WhatsApp

    • @damixes1355
      @damixes1355 3 ปีที่แล้ว +1

      @@MichaelKitas Yes I am doing that with a new account on whatsapp

    • @damixes1355
      @damixes1355 3 ปีที่แล้ว

      @@MichaelKitas It is saying cannot scan make sure youre on whatsapp web

    • @MichaelKitas
      @MichaelKitas  3 ปีที่แล้ว

      @@damixes1355 can you send a screenshot?

  • @sahinzaybak9108
    @sahinzaybak9108 2 ปีที่แล้ว +2

    Hi. How can I send a link in a message?

  • @hardikraval9644
    @hardikraval9644 3 ปีที่แล้ว +1

    @Michal kitas Can we send images?

    • @MichaelKitas
      @MichaelKitas  3 ปีที่แล้ว

      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.

    • @hardikraval9644
      @hardikraval9644 3 ปีที่แล้ว +1

      @@MichaelKitas hey Michael, I subscribed!!!

  • @janjaap663
    @janjaap663 2 ปีที่แล้ว +1

    on ubuntu the QR-code is generated but not scanning by whatsapp

    • @MichaelKitas
      @MichaelKitas  2 ปีที่แล้ว

      I haven't tried it in ubuntu, so I am not sure what the issue could be

  • @ThePaulForn
    @ThePaulForn 2 ปีที่แล้ว +1

    I couldn't read the qrcode, do you know what it could be?

    • @MichaelKitas
      @MichaelKitas  2 ปีที่แล้ว +1

      Go to WhatsApp Linked Devices tab and click Link Device. That’s the only way to scan the qr code correctly

  • @NisargShah-zu3bh
    @NisargShah-zu3bh 7 หลายเดือนก่อน +1

    My terminal is stuck on Authenticating. What should I do

  • @sushilfating3549
    @sushilfating3549 3 ปีที่แล้ว +1

    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.

    • @MichaelKitas
      @MichaelKitas  3 ปีที่แล้ว

      Is the phones valid? Try and put a + sign at the front of the number

    • @sushilfating3549
      @sushilfating3549 3 ปีที่แล้ว

      @@MichaelKitas yes, I tried same but same results

    • @MichaelKitas
      @MichaelKitas  3 ปีที่แล้ว +1

      Is it possible for you to share code, maybe I can help debug and we can fix the problem 😀

    • @MichaelKitas
      @MichaelKitas  3 ปีที่แล้ว +1

      @@ricardofagmer_ I can’t seem to replicate he’s error.

  • @akshaybarya3378
    @akshaybarya3378 3 ปีที่แล้ว +2

    The Qr is not being scanned what to do next

    • @MichaelKitas
      @MichaelKitas  3 ปีที่แล้ว

      You need to scan it with the web WhatsApp scanner

    • @akshaybarya3378
      @akshaybarya3378 3 ปีที่แล้ว +1

      @@MichaelKitas how can we send messages to groups

    • @MichaelKitas
      @MichaelKitas  3 ปีที่แล้ว

      @@akshaybarya3378 I don’t think it’s possible with that plugin

  • @anshuvishwakarma6020
    @anshuvishwakarma6020 3 ปีที่แล้ว +2

    How to send attachment

    • @MichaelKitas
      @MichaelKitas  3 ปีที่แล้ว

      I am not sure that it's possible with this module but you can check more about it here: www.npmjs.com/package/wbm

  • @omkarshelke467
    @omkarshelke467 4 หลายเดือนก่อน

    is there another way of authenticating rather than qr?

  • @synologictips2451
    @synologictips2451 3 ปีที่แล้ว +1

    how show qr code to website with qr code refresh on any secon

    • @MichaelKitas
      @MichaelKitas  3 ปีที่แล้ว

      Check more about the module here: www.npmjs.com/package/wbm

  • @AbdulMutalib-s8x
    @AbdulMutalib-s8x 11 หลายเดือนก่อน +1

    why when i use cannot send , i use Malaysia code country but cannot send

    • @MichaelKitas
      @MichaelKitas  10 หลายเดือนก่อน

      Make sure you are able to send manually using that phone number in the first place.

  • @beksultanomirzak9803
    @beksultanomirzak9803 3 ปีที่แล้ว +1

    Hello, How to scan qr code, I couldnt with my whatsapp app

    • @MichaelKitas
      @MichaelKitas  3 ปีที่แล้ว

      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.

  • @princebhattacharya3216
    @princebhattacharya3216 4 ปีที่แล้ว +1

    hey, thanks for making this video

  • @toppoint360
    @toppoint360 ปีที่แล้ว +1

    This not working with nestjs ?!

    • @MichaelKitas
      @MichaelKitas  ปีที่แล้ว

      It's for nodejs, don't think it works with other frameworks

  • @anshuvishwakarma6020
    @anshuvishwakarma6020 3 ปีที่แล้ว +1

    how to show this qrcode to our own web page without terminal

    • @MichaelKitas
      @MichaelKitas  3 ปีที่แล้ว

      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

    • @MichaelKitas
      @MichaelKitas  3 ปีที่แล้ว +1

      I have done it already, let me know if I should make a video on that

    • @anshuvishwakarma6020
      @anshuvishwakarma6020 3 ปีที่แล้ว +2

      @@MichaelKitas plz make.

    • @anshuvishwakarma6020
      @anshuvishwakarma6020 2 ปีที่แล้ว +1

      @@MichaelKitas plz make video

    • @MichaelKitas
      @MichaelKitas  2 ปีที่แล้ว

      @@anshuvishwakarma6020 I have made the video for that

  • @luffy16647
    @luffy16647 หลายเดือนก่อน

    can we send a single message to many people?

  • @raviduttjangid7304
    @raviduttjangid7304 3 ปีที่แล้ว +1

    not received any message but in node js showing sent message.

    • @MichaelKitas
      @MichaelKitas  3 ปีที่แล้ว

      Make sure you can message this number manually as well

    • @fabiano8888
      @fabiano8888 2 ปีที่แล้ว

      Hey, Ravi! Try to set the session parameter to false inside wbm.start()
      Like so: wbm.start(session = false)

  • @rodolphobabatounde6711
    @rodolphobabatounde6711 3 ปีที่แล้ว +1

    Is it possible to send images or videos?

    • @MichaelKitas
      @MichaelKitas  3 ปีที่แล้ว

      Yes, but I think only if you send a link which will automatically show the image/video afterwards.

  • @SheetalSharma-eq9gh
    @SheetalSharma-eq9gh 2 ปีที่แล้ว +2

    not working for indian numbers... pls help

  • @dhinewarlords5605
    @dhinewarlords5605 3 ปีที่แล้ว +1

    can you actualy send to multiple people? Mine only sent to 2 persons

    • @MichaelKitas
      @MichaelKitas  3 ปีที่แล้ว

      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!

    • @dhinewarlords5605
      @dhinewarlords5605 3 ปีที่แล้ว +1

      @@MichaelKitas it didn't work. I have put the number in the array. Can you help me?

    • @MichaelKitas
      @MichaelKitas  3 ปีที่แล้ว

      @@dhinewarlords5605 Sure, can you share code?

    • @dhinewarlords5605
      @dhinewarlords5605 3 ปีที่แล้ว

      @@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));

    • @dhinewarlords5605
      @dhinewarlords5605 3 ปีที่แล้ว

      @@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));

  • @ebubekirbastama
    @ebubekirbastama 2 ปีที่แล้ว +1

    Nice video bro

  • @034_pratiksabale9
    @034_pratiksabale9 3 ปีที่แล้ว +1

    But this message send i didn't saw in my WhatsApp

    • @MichaelKitas
      @MichaelKitas  3 ปีที่แล้ว

      Are you sure you checking the correct contact? And does that contact exists?

    • @fabiano8888
      @fabiano8888 2 ปีที่แล้ว

      Hi, Pratik! Try to set the session parameter to false inside wbm.start()
      Like so: wbm.start(session = false)

  • @bugtest3849
    @bugtest3849 6 หลายเดือนก่อน

    can we send image or pdf?

  • @DanteDerette
    @DanteDerette 2 ปีที่แล้ว +1

    Awesomeeeeeeeeeeeeeeeee!!!!

  • @shaikhsanah3087
    @shaikhsanah3087 2 ปีที่แล้ว

    Hello Sir, I tried this and even though the output says 1 sent, I cannot see the message on whatsapp

    • @MichaelKitas
      @MichaelKitas  2 ปีที่แล้ว

      If you do it manually can you send the same contact the same message?

    • @fabiano8888
      @fabiano8888 2 ปีที่แล้ว

      Hello Shaikh! Try to set the session parameter to false inside wbm.start()
      Like so: wbm.start(session = false)

  • @leandroalves5061
    @leandroalves5061 3 ปีที่แล้ว +1

    has how to send image?

    • @MichaelKitas
      @MichaelKitas  3 ปีที่แล้ว +1

      It doesn't, but you can use Cloudinary to upload files and then get a URL which you can share instead

  • @naouss7060
    @naouss7060 2 ปีที่แล้ว +1

    I think this wbm module no longer works

    • @MichaelKitas
      @MichaelKitas  2 ปีที่แล้ว

      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

  • @rzq8896
    @rzq8896 3 ปีที่แล้ว +1

    How to upload it to hosting?

    • @MichaelKitas
      @MichaelKitas  3 ปีที่แล้ว

      You can use heroku which is free

    • @rzq8896
      @rzq8896 3 ปีที่แล้ว +1

      @@MichaelKitas I have personal hosting,but i don't know to upload it.Do you have the tutorial?

    • @MichaelKitas
      @MichaelKitas  3 ปีที่แล้ว

      @@rzq8896 th-cam.com/video/gPOa0LvIwHQ/w-d-xo.html

  • @Hamoody25
    @Hamoody25 3 ปีที่แล้ว +1

    node responds with nothing can you help me???

    • @MichaelKitas
      @MichaelKitas  3 ปีที่แล้ว

      Can you share code?

    • @Hamoody25
      @Hamoody25 3 ปีที่แล้ว +1

      @@MichaelKitas oh thanks but i got it i forgot to save file 🙃

    • @Hamoody25
      @Hamoody25 3 ปีที่แล้ว +1

      @@MichaelKitas and you get a sub for being so helpful thank you very much

    • @MichaelKitas
      @MichaelKitas  3 ปีที่แล้ว

      @@Hamoody25 I am glad you could figure it out 🙂

    • @MichaelKitas
      @MichaelKitas  3 ปีที่แล้ว

      @@Hamoody25 Thank you, a lot 🙂

  • @AnilKumar-f3z2u
    @AnilKumar-f3z2u ปีที่แล้ว +1

    i have a question can we get the replies too and how?

    • @MichaelKitas
      @MichaelKitas  ปีที่แล้ว

      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)

  • @YashKShah-zl4id
    @YashKShah-zl4id 3 ปีที่แล้ว +1

    This is not working at all reply asap

    • @MichaelKitas
      @MichaelKitas  3 ปีที่แล้ว

      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!

    • @akshaymore1991
      @akshaymore1991 3 ปีที่แล้ว

      It doesn't work in India, zukooobug loves Indian users too much

    • @beksultanomirzak9803
      @beksultanomirzak9803 3 ปีที่แล้ว

      @@MichaelKitas it doesnt work in Kazakhstan

  • @abdullahyassin7229
    @abdullahyassin7229 5 หลายเดือนก่อน

    Is still working?

  • @abhay2192
    @abhay2192 2 ปีที่แล้ว +1

    Hello sir. Lots of love and thanks to you! Can you please tell me whether we can send stickers also?

    • @MichaelKitas
      @MichaelKitas  2 ปีที่แล้ว +1

      You will need to find the corresponding code for that sticker maybe unicode type or something like that

  • @MsVextor
    @MsVextor ปีที่แล้ว +1

    E a PF, amigo?

  • @sahibalam6547
    @sahibalam6547 2 ปีที่แล้ว +1

    Only first time message sent to a number.. second time didn't sent to the same as well on to the other number

    • @MichaelKitas
      @MichaelKitas  2 ปีที่แล้ว

      Maybe they blocked you? Try sending manually and see if it works

  • @badcandy1337
    @badcandy1337 8 หลายเดือนก่อน +1

    Any whatsapp bans

    • @MichaelKitas
      @MichaelKitas  7 หลายเดือนก่อน +1

      Unless you spam messages, it doesn't matter, it's same as using it manually.

  • @wallacegrisven9685
    @wallacegrisven9685 4 ปีที่แล้ว

    '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??

    • @MichaelKitas
      @MichaelKitas  4 ปีที่แล้ว

      Hello, you need to download NodeJS. Visit this link here: nodejs.org/en/download/

    • @akshayramadas
      @akshayramadas ปีที่แล้ว

      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

  • @iq9551
    @iq9551 2 ปีที่แล้ว +2

    desnt work

    • @MichaelKitas
      @MichaelKitas  2 ปีที่แล้ว

      It doesn’t work in all countries

    • @iq9551
      @iq9551 2 ปีที่แล้ว

      @@MichaelKitas What is the solution

    • @MichaelKitas
      @MichaelKitas  2 ปีที่แล้ว

      @@iq9551 Not sure, maybe VPN or use a working WhatsApp number (For example indian phones are not working)

    • @jesuspinedo1614
      @jesuspinedo1614 2 ปีที่แล้ว

      @@MichaelKitas Not work for me. Colombia

  • @virtuoso776
    @virtuoso776 4 ปีที่แล้ว +1

    Thanks for the info. I give you a gift see u

  • @monagamoudi6598
    @monagamoudi6598 2 ปีที่แล้ว +1

    Hi sir , I tried to send a message and the output show me "1 sent", but I did not get the message on whatsapp !!

    • @MichaelKitas
      @MichaelKitas  2 ปีที่แล้ว +1

      Try sending it manually, if it doesn’t work then neither it will with the script

    • @fabiano8888
      @fabiano8888 2 ปีที่แล้ว +2

      Hello, Mona! Try to set the session parameter to false inside wbm.start()
      Like so: wbm.start(session = false)