This is done using python selenium.
Requirements: 1)Selenium 2)Chrome webdriver 3)whatsapp account
Step1: Install Selenium
vinay@vinay:~$pip install selenium
Step 2: Download Chrome Webdrive
vinay@vinay:~$pip install chromium-browser
(or try alternate links)
Step 3: Already created the whatsapp account
Step 4: Create Project Folder and put this python file and unzip chrome webdriver
Step 5:
vinay@vinay:~$mkdir Seleinum_Example
vinay@vinay:~$git clone https://github.com/vinaysomawat/Spam-WhatsApp-Contacts.git
NOTE:(Open whatsapp_sendmessage.py and change the target name and frequency to the name of your contact )
vinay@vinay:~$unzip chromedriver_linux64.zip
vinay@vinay:~$python whatsapp_sendmessage.py
Step 6: It ask QR code scanner. Please link your whatsapp account.
Step 7: Successfully Message sent.
python whatsapp_sendmessage.py
python whatsapp_contacts.py