Whatsapp Autoreply Bot using Python!

Whatsapp Autoreply Bot using Python!


Have you ever wished to automatically wish your friends on their birthdays, or send a set of messages to your friend ( or any Whastapp contact! ) automatically at a pre-set time, or send your friends by sending thousands of random text on whatsapp! Using Browser Automation you can do all of it and much more!


Whatsapp Autoreply Bot using Python!
Whatsapp Autoreply Bot using Python!


First you must install these:-


First of all, install Python    [watch video tutorial here]

Or you can use http://pythonanywhere.com/

1) Python Bindings for Selenium ( Browser Automation software )
You can download Python bindings for Selenium from the PyPI page for selenium package. However, a better approach would be to use pip to install the selenium package. Python 3.6 has pip available in the standard library. Using pip, you can install selenium like this:
pip install selenium

You may consider using virtualenv to create isolated Python environments. Python 3.6 has pyvenv which is almost the same as virtualenv

2) Firefox :- click here
Extract it in a known location ,and set the path varible as given below in step 3
watch video tutorial here

3)search in cortana. you will find the shortcut of the Python. then right click and goto open file location, then again to the open file location. now search the SCRIPT folder. open that folder, and copy the Main LOCATION of the script.
 my computer -> right click -> advanced system settings -> environment variable(at the below right side) -> Path (click here)-> Add New(now paste that which you copied from Script folder)

4) Now return back by Saving all the files

5)  Now open the CMD - cd ctrl+V .
now just input pip install selenium 

If you get stuck somewhere, Refer To the documentation: Documentation link







GitHub Link :Click Here


Here is the video tutorial. check this out first ! 




That’s it! You are all set.


Feel free to modify the code. Try to :
  1. Text Multiple Groups at once
  2. Send the messages from a predefined list of messages randomly or
  3. Send complete random text.








Previous
Next Post »