Send whatsapp messages to people using python script.
- python
- Chrome Driver
Download from the official page (preferred, though chromedriver is available in the repo)-
1] Visit https://sites.google.com/a/chromium.org/chromedriver/downloads
.
2] Download and extract (e.g. to ~/bin/
or /usr/local/share/)
.
3] Remember to sudo chmod +x chromedriver
.
- COPY this at end of .bshrc file present in home->
export PATH="$PATH:/home/abhisri/Bin"
- Open whatsapp.py in your favourite text editor.
- Write your message to be send against variable
message_text
. - Mention the no. of times message is to be sent to each user against variable
no_of_messages
. - Write all the phone nos. against python array
mobile_no_list
in the format919871111111
. - Run the script as
python whatsapp.py
.