This is a python script which takes Email ID and password as input from the user and posts a "Happy Birthday" message on your friend's timeline who have birthday on that day.
It uses a python module named "Selenium" and "Chrome Webdriver_Manager". Make sure you have Selenium and Webdriver_Manager installed and run this file using terminal because getpass may not work on other GUIs.
FEEL FREE TO FORK THE PROJECT AND START CONTRIBUTING. :)
If you use a Google Account or Gmail you have to allow Less Secure apps to login in Your Google Account From https://myaccount.google.com/lesssecureapps. Otherwise this will not run accordingly.
python modules
Selenium
Chrome Webdriver_Manager
Your laptop with python 3.6.x (onwards) installed.
NOTE: Those with Linux and MacOSX would have Python installed by default, no action required.
Windows: Download the version for your laptop via https://www.python.org/downloads/
NOTES In your preferred editor, make sure indentation is set to "4 spaces".
-
Make sure you have Selenium installed in python otherwise code may fail, to install Selenium in your machine > open python in your terminal then type
pip install selenium
to install.⚠️ -
Make sure you have Chrome Webdriver_Manager installed in python otherwise code may fail, to install Chrome Webdriver_Manager in your machine > open python in your terminal then type
pip install webdriver_manager
to install.⚠️
- Clone or download repositiory: https://github.com/arevish/Facebook-automatic-Birthday-wisher.git
- In source folder, run
python FacebookBday.py
to start program, optionally, run with--help
argument to see other runtime options.