Automate WhatsApp Message Using Python | GeeksforGeeks

Поделиться
HTML-код
  • Опубликовано: 16 окт 2024
  • In this video, we're going to discuss how to automate WhatsApp Messages using Python. Here, we are going to use the 'pywhatkit' module to do the same. Meanwhile, 'pywhatkit' is a Python library for sending WhatsApp messages at a certain time and has several other features too like performing Google Search, playing a RUclips video, etc. So, let's get started now.
    Check Out the Related Articles:
    Introduction to pywhatkit module [www.geeksforge...]
    Complete Python Tutorial [www.geeksforge...]
    Apply For Video Internship Program - script.geeksfo...
    Our courses: practice.geeks...
    This video is contributed by Shambhavi Gupta.
    Please Like, Comment, and Share the Video with your friends.
    #whatsapp #python #projects #automation #beginner
    Install our Android App:
    play.google.co...
    If you wish, translate into the local language and help us reach millions of other geeks:
    www.youtube.com...
    Follow us on our Social Media Handles -
    Twitter- / geeksforgeeks
    LinkedIn- / geeksforgeeks
    Facebook- / geeksforgeeks.org
    Instagram- www.instagram....
    Reddit- / geeksforgeeks
    Telegram- t.me/s/geeksfo...
    Also, Subscribe if you haven't already! :)

Комментарии • 118

  • @GeeksforGeeksVideos
    @GeeksforGeeksVideos  10 месяцев назад

    For more such Projects, check out our Python Projects Playlist: ruclips.net/p/PLqM7alHXFySExPLJSzpKfKe6JO44Qm0qj&si=58NBcwlA0DdcvnBu

  • @unitra
    @unitra Год назад +8

    How to put the application on the hosting server? I don't want whatsapp to start in my computer's browser..

  • @AbdulHadi-wl8ek
    @AbdulHadi-wl8ek 4 месяца назад

    A very inormative video but i have a question at this point.
    AS in the video, we are automating the message specific to a single person. But what we have to do if we want to send a group automated message as there are multiple contacts there and ultimately there is no group number. So, please guide me i this regards.
    THANK YOU.

  • @ashishgautam2842
    @ashishgautam2842 3 года назад +7

    what if i set a time for 2hr and run that program , and close pycharm then sleep . will this message be sent . or do i need to awake pycharm and whatsapp web as well .

  • @SaidElnaffar
    @SaidElnaffar 2 года назад +43

    It doesn't work -- the message remains in the input box of WhatsApp indefinitely and it is never sent (waiting for the Enter key). Any solution?

    • @Fabricio22151
      @Fabricio22151 2 года назад +3

      the code have to be at the same monitor that whatsapp is open

    • @scriptsavvy0620
      @scriptsavvy0620 2 года назад +2

      you should also add waiting time like (22, 20, 32) waiting time should be more than 30 because it takes time due to network issue

    • @SaidElnaffar
      @SaidElnaffar 2 года назад +4

      @@scriptsavvy0620 I do recall that I added a delay but not sure if it was >30 secs (which is too much). I thinking of using Selenium instead.

    • @ithakurnishant
      @ithakurnishant 2 года назад +4

      Same problem. I tried to find solution on google and stack overflow as well but didn't get the answer.

    • @jithina5314
      @jithina5314 2 года назад +3

      @@ithakurnishant use packages time,pyautogui,keyboard to place cursor in typing field and enter the message..it works that way

  • @ShabdPrem
    @ShabdPrem 2 года назад +5

    This program is so good and simple.
    But it works still only open whatapp Web and only show the msg in send box on the whose number entered for the msg. but msg could not send automatically.

    • @spurjunfabio4082
      @spurjunfabio4082 2 года назад +3

      yes, I too have the same problem

    • @ParthivShah
      @ParthivShah 2 года назад +2

      Ma'm might had sent message manually😂.

    • @scriptsavvy0620
      @scriptsavvy0620 2 года назад

      you should also add waiting time like (22, 20, 32) waiting time should be more than 30 because it takes time due to network issue

    • @SadiqueKhan449
      @SadiqueKhan449 2 года назад

      Make sure your setting is enter is send

  • @AdnanChallawala
    @AdnanChallawala 2 года назад +7

    can we schedule multiple messages?
    can we schedule for next day too?

  • @saikiran-cy1vl
    @saikiran-cy1vl 3 года назад +8

    When we connect watsapp in laptop using watsapp web , how does the laptop know that our phone is having less charge

  • @surajdevv
    @surajdevv 4 месяца назад

    Works for me thankyou for the tutorial

  • @RajMhamane
    @RajMhamane Год назад +2

    what if we want to block to popup of browser ?
    please help !

  • @biplobmandal6208
    @biplobmandal6208 3 года назад +4

    How we can manage Incoming whatsapp. How we can replay depend on incoming whatsapp

  • @venkateshbalaga891
    @venkateshbalaga891 2 года назад +10

    It opened the whatsapp web, but message was not delivering.

    • @scriptsavvy0620
      @scriptsavvy0620 2 года назад

      you should also add waiting time like (22, 20, 32) waiting time should be more than 30 because it takes time due to network issue

    • @venkipondi62
      @venkipondi62 2 года назад +2

      @@scriptsavvy0620 tried that, still not working

    • @rpprogrammer4511
      @rpprogrammer4511 2 года назад

      You should check your internet speed. If time is over then the msg will never deliver.

    • @tirasmbeca2874
      @tirasmbeca2874 Год назад

      @@scriptsavvy0620 thanks you helped me out here

  • @Stauricus
    @Stauricus 2 года назад +3

    apreciate the video, but I couldn't understand almost any word at all...

  • @taxbazaar7364
    @taxbazaar7364 7 месяцев назад

    Please how to capture lead got from advertising comes on whats app (number of particular person) from what's app and Automatically paste it into excel by using python

  • @Nothing-iu1uy
    @Nothing-iu1uy Год назад +1

    Can I send msg to all at once?

  • @anokhautomation4453
    @anokhautomation4453 2 года назад +6

    hi sister .i am receiving this error---
    AttributeError: partially initialized module 'pywhatkit' has no attribute 'sendwhatmsg' (most likely due to a circular import)
    what will be the reason?

    • @SadiqueKhan449
      @SadiqueKhan449 2 года назад

      This means that you have a method with same name so change the method name

    • @SadiqueKhan449
      @SadiqueKhan449 2 года назад

      Can you post your program here so that I can tell you what's wrong

    • @SadiqueKhan449
      @SadiqueKhan449 2 года назад

      @@rituraj2574 in your program you have any variable or function named as sendwhatmsg?

    • @SadiqueKhan449
      @SadiqueKhan449 2 года назад

      @@rituraj2574 have you installed the pywhatkit library?

    • @SadiqueKhan449
      @SadiqueKhan449 2 года назад

      Post your program

  • @studiesonly-cn9hj
    @studiesonly-cn9hj Год назад +1

    In 86340 Seconds WhatsApp will open and after 15 Seconds Message will be Delivered! what am i suppose to do for 86340 seconds

  • @Hari_Limmada
    @Hari_Limmada 2 месяца назад

    How to send multiple users at a time?

  • @education-32
    @education-32 Год назад +1

    how to send links unknown numbers becuse links are going to text .how to fix

  • @shubhamkumar1305
    @shubhamkumar1305 Год назад +1

    We try the sending the message but it does not deliver by using pywhatkit module . Why mam?? Please let me know .

    • @Game-nr3sr
      @Game-nr3sr Год назад

      iam not able to install from pip install.. did it worked for u?

    • @shubhamkumar1305
      @shubhamkumar1305 Год назад

      @@Game-nr3sr Yes but message not deliver in whatsapp.

    • @Game-nr3sr
      @Game-nr3sr Год назад

      @@shubhamkumar1305 in which ide you have installed? And is it windows?

    • @shubhamkumar1305
      @shubhamkumar1305 Год назад

      @@Game-nr3sr Yes it is in windows and your side what you use ?? Vs code editor is using from my side

    • @riderchallenge4250
      @riderchallenge4250 Год назад

      first install libraray

  • @aryanshrajsaxena6961
    @aryanshrajsaxena6961 7 месяцев назад

    Thanks, very helpful

  • @SpaceSoftSystem
    @SpaceSoftSystem 2 года назад +1

    how send whatsapp button message using Google Chrome Webdriver selenium vb 2019 ?

  • @AdnanChallawala
    @AdnanChallawala 2 года назад +3

    Go a little slow mam it will be easy for beginners. nice video

  • @dpvlogs0921
    @dpvlogs0921 Год назад +2

    Can we send the message in group automatically?

    • @1conu
      @1conu 9 месяцев назад

      yes

  • @prolificEmmanuel
    @prolificEmmanuel Год назад +1

    It worked!
    thank you!

  • @ShivamSingh-zl1fd
    @ShivamSingh-zl1fd 2 года назад +1

    Why i am getting warning, while installing pywhatki ?

  • @charchitbansal2411
    @charchitbansal2411 Год назад +1

    Message is just getting pasted in the chat box but not sent, how to fix this, please help me

  • @rajagopal.g3533
    @rajagopal.g3533 2 года назад +1

    How to do it in Android phone.

  • @universalsoldier5622
    @universalsoldier5622 Год назад

    Hello mam I second time seing you after great learning
    Your teaching have some issues olz correct
    Your teching look like you're reading a English test book students can't understand ma'am plz update your self first

  • @allaboutmusic8314
    @allaboutmusic8314 2 года назад +1

    Not working for me , it opens what’s up write the message but doesn’t delivered , can someone help me thanks in advance 😃🙏

    • @Game-nr3sr
      @Game-nr3sr Год назад

      iam not able to install from pip install.. did it worked for u?

  • @siraj.udlla_
    @siraj.udlla_ Год назад

    I need group members automatically message send use python

  • @rupeshsharma1541
    @rupeshsharma1541 2 года назад +1

    i am getting an error stated as ' from flask import Flask, request
    ModuleNotFoundError: No module named 'flask'

  • @samuelgreen2604
    @samuelgreen2604 Год назад +3

    Very good tutorial 👌

  • @akcandlestick8948
    @akcandlestick8948 3 года назад +2

    how can we same method use in pdf file send ??

  • @amayvlogs8179
    @amayvlogs8179 2 года назад +1

    how to add more than 1 phone numbers ?

  • @meetsoni1938
    @meetsoni1938 Год назад

    Great 🎉

  • @vrohan07
    @vrohan07 Год назад +2

    that smile in the end!! thank you....

  • @developedbypy
    @developedbypy Год назад

    Very cool

  • @ntg8797
    @ntg8797 Год назад +1

    Yes it work out

    • @Game-nr3sr
      @Game-nr3sr Год назад +1

      iam not able to install from pip install.. did it worked for u?

  • @RehanShaikh
    @RehanShaikh 2 года назад +1

    Le WhatsApp API : Jor jor se bol ke sakbo bata de😉

  • @seleman-MW
    @seleman-MW 2 года назад +1

    How to send bulk WhatsApp message at once?

    • @sibiraj1277
      @sibiraj1277 11 месяцев назад

      if u got the answer then rply me asap

  • @batchscripting7783
    @batchscripting7783 Год назад

    Will only type guys. it will not send it automatically

  • @lakshit6429
    @lakshit6429 2 года назад

    Just using selenium under the hood

  • @SuchismitaBhuty
    @SuchismitaBhuty Год назад +1

    Mam you are so beautiful❤

  • @gtbrasil772
    @gtbrasil772 Год назад

    its very basic this library.

  • @aniket3s
    @aniket3s Месяц назад

    👍👍

  • @aashukhan7923
    @aashukhan7923 Год назад

    हिन्दी m bhi bol liya kro

  • @MrLaxr-op4be
    @MrLaxr-op4be Год назад

    You are a Geek

  • @avichiii
    @avichiii Год назад

    calm down, were you on gun point while making this vid. slow down, that way people will understand better.

  • @mygkpenterp4195
    @mygkpenterp4195 2 года назад

    This video is not at all helpful! This do not work, and the trainer is talking NOT explaining the logic / process for someone to understand.

    • @Game-nr3sr
      @Game-nr3sr Год назад

      iam not able to install from pip install.. did it worked for u?

  • @d32hb
    @d32hb 2 года назад +1

    bro u look and sound like some weird tech support

  • @baap_hon
    @baap_hon 2 года назад +1

    lie, not working in my laptop!!

    • @scriptsavvy0620
      @scriptsavvy0620 2 года назад

      you should also add waiting time like (22, 20, 32) waiting time should be more than 30 because it takes time due to network issue

    • @rajagopal.g3533
      @rajagopal.g3533 2 года назад

      @@scriptsavvy0620 How to do it in Android phone bro. I had installed pywhatkit in my python app also.

  • @kartikvohra25
    @kartikvohra25 2 года назад

    pls talk normaly.

  • @bkdk8
    @bkdk8 8 месяцев назад

    Bolo kam kitna bhadda lag raha hai lag raha hai ki book dekh kar padh rahi ho

  • @mrengineer4676
    @mrengineer4676 2 года назад

    The the the

  • @GeeksforGeeksVideos
    @GeeksforGeeksVideos  3 года назад +5

    Apply For Video Internship Program - script.geeksforgeeks.org/on-boarding/youtube

  • @thesiddvlogs
    @thesiddvlogs 2 года назад

    No module error -' flask '. 🥲.
    Please help mam.

  • @mehdadardeshiri9873
    @mehdadardeshiri9873 2 года назад +2

    It doesn't work

  • @batchscripting7783
    @batchscripting7783 Год назад

    Will only type guys. it will not send it automatically

  • @batchscripting7783
    @batchscripting7783 Год назад

    Will only type guys. it will not send it automatically