Automate WhatsApp Messages with Python in 3 Steps

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

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

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

    In this guide, you can check the steps to get the group ID: medium.com/p/d64cf0de4539

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

    Came here from Medium. Thank you for all your resources

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

    Love your content. I started coding a week ago and your videos are crazy good explained, so also a noob coder can understand it. Thank you so much!
    Could you make a video about how i can get information from google calendar api? :)

  • @pkleiz
    @pkleiz 9 หลายเดือนก่อน +1

    Nice tutorial, thanks for your help, is it possible to do this serveless using lambda for example?

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

    You made such an important video, thank you so much !
    Would it be possible to send the same message one shot but to several persons individually ?

  • @kelvindefrin7330
    @kelvindefrin7330 วันที่ผ่านมา

    Will this method work, if we set up the time and shutdown the PC?

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

    Is there a way to read or get the content of an incoming message? or the content of a group? i want to automate something

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

    Hi, I have a question can this work instead of groups to broadcast lists?

  • @h.t.8812
    @h.t.8812 หลายเดือนก่อน

    thank you so much, I was thinking the group ID was the name of the group... unfortunately it seems pywhatkit doesn't type characters from outside the English language, not sure how I'll continue, maybe I'll transform the message into an image

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

    it seems like it's not working, it types the message but sadly doesn't send it

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

    Hey! Is it possible to have this code run every day for a month, automatically? For example, I want it to send a message every day at 9am for a month. Thank you!

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

      Same query...following

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

      Sure. This week I’ve just done that but with Selenium. Anyway the approach might still help you.
      First, you have to convert the py file to exe and then use the task scheduler (windows) or crontab (macOS) to schedule the exe to be run every morning at 9am. There’s a video to convert py to exe in this channel and I have a guide on medium to work with task scheduler/crontab.
      Btw, for this to work you have to slightly modify the script shown in this video.

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

      @@ThePyCoach I appreciate your dedication level sir

  • @Mastery-nv9yd
    @Mastery-nv9yd 4 หลายเดือนก่อน

    Hey, I want to send premade voice messge on whatsapp like quick response on business whatsapp but we can only do text and not voice. Hope you'll have the answer

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

    The message embedded in the code, put on the text field in whatsapp app but not sent, it is a bug probably, there is a widespread problem but no solution in the video, Frank Andrade you ommited an important part!

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

    Such a helpful video
    I would like to schedule it to run on a server, Is this way proper?

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

      Task scheduler windows

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

    Hello,
    I hope this message finds you well. I was wondering if there is a way to automate broadcast lists in WhatsApp. I am interested in streamlining the process of sending messages to multiple recipients efficiently. If you have any insights or suggestions on how to achieve this, I would greatly appreciate your assistance.
    Thank you for your time and consideration.

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

      Estoy buscando lo mismo. Soy vendedor y necesito enviar mensajes a muchos contactos

  • @abdul-azeez-v
    @abdul-azeez-v ปีที่แล้ว +1

    How is this working ? Is there any limits ? From which number we are recieving the msg ?

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

    Is it possible to add lots of numbers and send the message at once?

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

    Think what I want to send messages to many persons and I put that in a for.
    how can I send messages but without what open browser more of once?

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

    Congratulations nephew!👏👏👏

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

    Can it accept a list of contacts as an argument?

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

    Great bro, thanks You are awesome but just solve my one problem - I want to send a single message to bulk (millions) WhatsApp users without adding them to my contacts. I have stored users' phone numbers in bulk in excel and notepad. Please help me, brother.

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

    Can a recurring whatsapp poll on a group be automated?

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

    Excellent video, but I couldn't understand where should I paste this (Visual Studio or Python IDE or somewhere else), can you explain?

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

      You can use any text editor or IDE for this tutorial (I'm using Pycharm btw)

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

    What if we want to only send the message if they respond? How can we implement that?

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

    Hi! When I'm trying to send a message composed of more that one word, as for example "Geeks For Geeks!", it's sending something like "Geeks%20For%20Geeks%21". Do you know why that's happening? I'm using MacBook, I don't know if that matters. Thanks!

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

      %20 is space ascii key. Try to decode it.

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

      @@sg8nj how to decode it brother. give me snippet

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

    Love your content. 😃

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

    Can I put the date also in it?

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

    How to send a lot of number form an axcel/database?

  • @Gamer-rs6ow
    @Gamer-rs6ow หลายเดือนก่อน

    This library is such a mess.
    Sometimes, it sends message sometimes don't.
    Specially in 3.12, msg wont be deliverd untill you install another library and write an extra line of code to deliver it. Although, many times it doesn't work.

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

    Since a week, same codes that can work now doesn't work and , don't know why. Have any idea?

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

    Can I attach a picture in a boardcasts?

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

    I tried to install pywhatkit in the terminal but it returned me this message: "bash: pip: command not found" What can I do to solve this problem ?

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

    Thanks, but how Can i send a story using python ?

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

    but its not sending automatically, still we have to click on send button

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

      It only happens when you send a message to yourself

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

    So useful, thanks a lot

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

    Bro, could u release video on how to send attachment through whatsapp using python . This is the request, It would be so much useful for manyone, please consider this as a request.

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

    Will the message be sent even when we shut down the system

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

    Hi Sir, can you pls make video of Twitter storming?

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

    send button need to be clicked manually help on this pls

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

    can u automatically send to phone?

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

    It did not work for me
    It opens up webwhatsap and goes to the chat, writes the message but does not send it

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

      It happened the same to me in macOS. You have to give permission to the terminal on accessibility. For more details, check the guide in the description

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

    why seconds is 68084 at my program???

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

      Because if you start at the same moment of minute or hour you set, it cont 1 day

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

      Bro can you write to me the fixed code?​@@jeanpaul7631

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

    For me, it just opens my WhatsApp in the browser with the message already written but it doesn't send automatically.

  • @عبدالقادرعبدالرحمنعبدالله

    What if i want it sends message without opening whatsapp web ?

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

    how do i cancel automated messages

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

    How can i get in touch with you

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

      Check the email on my TH-cam channel

  • @anthonyobot6529
    @anthonyobot6529 18 วันที่ผ่านมา

    Mine did not send the message after 15 seconds

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

    is this legal?

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

    😃👊👏👏👏👏

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

    Please answer me

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

      Answer which question? 🤔

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

      @@ThePyCoach the script open WhatsApp and writes messagge but does not send it. I read that the problem is permission. I have Linux Ubuntu 20.0. can you Say me how resolve this question?

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

    time.sleep(wait_time - 7)
    ValueError: sleep length must be non-negative

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

    I tried launching on Vscode but cant seem to install pywhatkit, then proceeded to jupyter notebook and when calling pywhatkit.sendwhatmsg(xxx) it shows an error not defined?

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

      The IDE/text editor shouldn’t influence the installation of a library. Try installing it with pip on a new virtual environment

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

    Can anyone help me fix it. It doesn't sent instantly
    In 43091 Seconds WhatsApp will open and after 15 Seconds Message will be Delivered!