This project contains scripts for sending bulk messages (both text and images) via WhatsApp using Selenium. It can be used for sending invites, notifications, or any other messages to a list of contacts.
- Bulk Text Messaging: Send personalized text messages to a list of phone numbers.
- Bulk Image Messaging: Send an image to a list of phone numbers.
- Python 3.x
- Selenium
- pandas
- ChromeDriver
- Clone the Repository:
git clone https://github.com/your-repo/easy-invite.git cd easy-invite
- Install Required Packages:
Install the necessary Python packages using pip:
pip install -r requirements.txt
- Download ChromeDriver:
- Ensure you have the Chrome browser installed.
- Download the appropriate ChromeDriver for your version of Chrome from here.
- Place the ChromeDriver executable in the project directory and update the executable_path in the scripts accordingly.
- Prepare Your Guest List:
- Create a guests.csv file in the project directory with a column named Number containing the phone numbers of your contacts.
- For bulk text messaging, add additional columns like Name for personalization.
- Set Up the WhatsApp Web Session:
- Run the script and scan the QR code with your WhatsApp mobile app.
Sending Text Messages
- Open the whatsapp_text_sender.py script.
- Customize the message template as needed.
- Run the script:
python3 whatsapp_text_sender.py
Sending Image Messages
- Open the whatsapp_image_sender.py script.
- Ensure the image path is correct.
- Run the script:
python3 whatsapp_image_sender.py
- Make sure your phone has a stable internet connection during the process.
- Test the script with a few numbers first before sending it to the entire list.
- For the image script, you'll have to use the absolute image path.
This project is for educational purposes only. Please use it responsibly and adhere to WhatsApp’s terms of service.