{"id":15093379,"url":"https://github.com/bdr-pro/whatsapp","last_synced_at":"2026-01-05T05:03:36.423Z","repository":{"id":225970599,"uuid":"766920974","full_name":"BDR-Pro/Whatsapp","owner":"BDR-Pro","description":"Send anything to any whatsapp number","archived":false,"fork":false,"pushed_at":"2024-03-05T08:49:32.000Z","size":182,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-27T12:11:31.693Z","etag":null,"topics":["whatsapp","whatsapp-bot","whatsapp-web"],"latest_commit_sha":null,"homepage":"https://console.twilio.com","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/BDR-Pro.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2024-03-04T11:32:32.000Z","updated_at":"2024-08-10T07:46:46.000Z","dependencies_parsed_at":"2024-03-05T09:02:51.328Z","dependency_job_id":null,"html_url":"https://github.com/BDR-Pro/Whatsapp","commit_stats":null,"previous_names":["bdr-pro/whatsapp"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BDR-Pro%2FWhatsapp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BDR-Pro%2FWhatsapp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BDR-Pro%2FWhatsapp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BDR-Pro%2FWhatsapp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BDR-Pro","download_url":"https://codeload.github.com/BDR-Pro/Whatsapp/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244959385,"owners_count":20538624,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["whatsapp","whatsapp-bot","whatsapp-web"],"created_at":"2024-09-25T11:22:05.497Z","updated_at":"2026-01-05T05:03:36.417Z","avatar_url":"https://github.com/BDR-Pro.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# WhatsApp Messaging Script with Twilio\n\nThis Python script allows you to send WhatsApp messages using the Twilio API. It leverages environment variables to securely handle credentials.\n\n## Prerequisites\n\nBefore you begin, ensure you have the following:\n\n- A Twilio account with access to WhatsApp messaging services.\n- A Twilio WhatsApp-enabled phone number.\n- Python installed on your machine.\n- `twilio` and `python-dotenv` packages installed in your Python environment.\n\n## Installation\n\n1. Clone this repository to your local machine or download the script file directly.\n2. Navigate to the script's directory in your terminal or command prompt.\n3. Install the required Python packages:\n\n   ```bash\n   pip install -r requirements.txt\n   ```\n\n4. Create a `.env` file in the same directory as your script with the following contents:\n\n   ```plaintext\n   TWILIO_ACCOUNT_SID=your_account_sid_here\n   TWILIO_AUTH_TOKEN=your_auth_token_here\n   TWILIO_FROM_WHATSAPP_NUMBER=whatsapp:your_twilio_whatsapp_number_here\n   ```\n\n   Replace `your_account_sid_here`, `your_auth_token_here`, and `your_twilio_whatsapp_number_here` with your Twilio Account SID, Auth Token, and WhatsApp-enabled phone number, respectively.\n\n## Usage\n\n1. Ensure your `.env` file is correctly set up with your Twilio account details and WhatsApp number.\n2. Modify the message body and the recipient number in the script as needed. The recipient number should be in the format `whatsapp:+international_number`, e.g., `whatsapp:+96655XXXXXXX`.\n3. Run the script:\n\n   ```bash\n   python main.py\n   ```\n\n4. Upon successful execution, the script will print the message SID, status, and price information to the console, indicating that the message has been sent successfully.\n\n## Troubleshooting\n\n- Ensure all environment variables are correctly set in the `.env` file.\n- Verify that the Twilio WhatsApp number is correctly configured for sending messages.\n- Check that the recipient's phone number is entered correctly and includes the full international dialing format prefixed with `whatsapp:`.\n- If you encounter HTTP errors, double-check your Account SID and Auth Token for accuracy.\n\nFor more detailed information, visit the [Twilio API documentation](https://www.twilio.com/docs/whatsapp/api).\n\n## License\n\nThis script is released under the MIT License. See the LICENSE file for details.\n\n## Contact\n\nFor support or queries, please file an issue in the repository or contact the script maintainer at `baderalotaibi3@gmail.com`.\n\n### WhatsApp Message Sent Successfully using Twilio API\n\n![alt text](image.png)\n\n### WhatsApp Messaging Script with Free package pywhatkit\n\n![alt text](image-1.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbdr-pro%2Fwhatsapp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbdr-pro%2Fwhatsapp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbdr-pro%2Fwhatsapp/lists"}