Automate WhatsApp Messages with Python in 3 Steps

Поділитися
Вставка
  • Опубліковано 7 лют 2025

КОМЕНТАРІ •

  • @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? :)

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

  • @pkleiz
    @pkleiz Рік тому +1

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

  • @lantern-n6z
    @lantern-n6z Рік тому +1

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

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

  • @wisdomdakoh4472
    @wisdomdakoh4472 Місяць тому

    Great Video man
    Thank you very much
    I was wondering if we were to deploy an application with this python package, how would this work?
    For example a Django or FastAPI application that uses this logic, would it even be possible or would it require a browser for it to work

  • @melodicbooking1944
    @melodicbooking1944 2 роки тому +19

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

  • @kwakugyabaah6335
    @kwakugyabaah6335 7 місяців тому

    Can it accept a list of contacts as an argument?

  • @kelvindefrin7330
    @kelvindefrin7330 3 місяці тому +1

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

  • @dilmerpalomino4895
    @dilmerpalomino4895 Рік тому

    Congratulations nephew!👏👏👏

  • @MazeriSSa
    @MazeriSSa Рік тому

    Can I put the date also in it?

  • @jonathanduran5502
    @jonathanduran5502 2 роки тому +1

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

  • @hrshsawant63
    @hrshsawant63 10 місяців тому

    Can a recurring whatsapp poll on a group be automated?

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

  • @MuhammadAli666
    @MuhammadAli666 2 роки тому +1

    Love your content. 😃

  • @sagegamingevents4496
    @sagegamingevents4496 2 роки тому +2

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

  • @mauriciosolis6589
    @mauriciosolis6589 Рік тому +1

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

  • @salmaaalifiarizka9420
    @salmaaalifiarizka9420 11 місяців тому

    Can I attach a picture in a boardcasts?

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

  • @bmc_
    @bmc_ 7 місяців тому

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

  • @oncuozgonul
    @oncuozgonul Рік тому

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

  • @larissasimpore
    @larissasimpore Рік тому

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

  • @KhadijaHarbaz
    @KhadijaHarbaz 2 роки тому

    So useful, thanks a lot

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

  • @masteryaccompagnement
    @masteryaccompagnement 8 місяців тому

    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

  • @Breakthebad8
    @Breakthebad8 Рік тому

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

  • @salmaaalifiarizka9420
    @salmaaalifiarizka9420 11 місяців тому

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

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

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

  • @alonsoanil
    @alonsoanil 2 роки тому

    can u automatically send to phone?

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

  • @Gamer-rs6ow
    @Gamer-rs6ow 4 місяці тому

    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.

  • @codeanddesignswithayel8708
    @codeanddesignswithayel8708 Рік тому +2

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

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

  • @h.t.8812
    @h.t.8812 5 місяців тому

    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

  • @guygoldgart5379
    @guygoldgart5379 2 роки тому

    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  2 роки тому

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

  • @subalakshmi6273
    @subalakshmi6273 11 місяців тому

    send button need to be clicked manually help on this pls

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

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

  • @emirhan3733
    @emirhan3733 Рік тому +2

    why seconds is 68084 at my program???

    • @jeanpaul7631
      @jeanpaul7631 11 місяців тому +1

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

    • @emirhan3733
      @emirhan3733 11 місяців тому +1

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

  • @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 5 місяців тому

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

  • @anthonyobot6529
    @anthonyobot6529 4 місяці тому

    Mine did not send the message after 15 seconds

  • @charu20231
    @charu20231 Рік тому

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

  • @CalvertEdwards
    @CalvertEdwards 2 роки тому

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

  • @doubleb1150
    @doubleb1150 2 роки тому

    how do i cancel automated messages

  • @UUSSSA
    @UUSSSA 2 роки тому

    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.

  • @cudjoefrancis5950
    @cudjoefrancis5950 2 роки тому

    How can i get in touch with you

    • @ThePyCoach
      @ThePyCoach  2 роки тому

      Check the email on my UA-cam channel

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