The WhatsApp Status Viewer view a specific WhatsApp contact status as soon as it is uploaded, send a WhatsApp message about the status type(Image, Video, Text, or Audio) and the time at which it was viewed OR alternatively always check and notify you if a status is uploaded. You get notified every 30minutes, 1hour, 3hours or 6 hours depending on your choice.
NOTE: WhatsApp does not allow bots or unofficial clients on their platform, so this shouldn't be considered totally safe.
See requirements.txt
- Download or clone this project.
- Open CMD from the project folder.
- Create a Virtual Environment using the following command
py -m venv your_env_name
. - Activate your virtual environment and run the below command to install dependencies.
pip install -r requirements.txt
Python-WhatsApp-Bot was used for WhatsApp message, PLEASE READ!
- Go to WhatsApp Business Cloud API.
- Login and choose your created App.
- On the left side bar, click "WhatsApp".
- From the dropdown, select "Getting started".
- Here is a video demonstration
You should see a screen like this
Pay attention to the version.
v15.0
was the version at the time of making this package. Use the correct version.
It is recommended you create/use another instance of your Chrome browser with a specific profile for just this software. To create new profile, please check YouTube.
NOTE: Remember your profile-directory and user-data-dir after you've created the new chrome browser profile/instance
To check for
profile-directory
anduser-data-dir
on your new instance, gotochrome://version/
- Login into WhatsApp Web and make sure it is completely synced with your phone (Loading messages).
- Download ChromeDriver that is of the same version as your Chrome browser. Navigate to
chrome://version/
to check your Chrome Version. - Extract chromedriver from the zip into this folder
assest/driver
- Afterwards, ensure all required in the
config.py
are provided (PHONE_ID, CONTACTS and TOKEN). See WhatsApp Business Cloud API Dashboard for your infomations.
REMEMBER THE GENERATED TOKEN EXPIRES EVERY 24HOURS.
If you need a permenent token, let me know.
- Then navigate to this project folder, open
main.py
. - Edit
driverpath
variable to your driver path. - Edit
timezone
variable to your location time zone. - Edit
options.add_argument(r'user-data-dir=YOUR-USER-DATA-DIR')
. - Edit
options.add_argument(r'--profile-directory=YOUR-PROFILE-DIR')
. - Edit
statusUploaderName
to your desired ContactName (make sure it is exactly how it is saved on your phone(Case Sensitive)). - Open command prompt in the same folder assuming your env('your_env_name') is activated.
- Run
py main.py
.
See other Screenshots, Click here
- Timeout When Logging in: Increase the timeout value
60
atwait = WebDriverWait(bot, 60)
.Preferrably, use a more stable internet.
- Not Receiving WhatsApp Message: Send a message to your Test Number. If a message isn't sent to your test number within 24hours, you would not recieve message.