Skip to content

Given username credentials, this block of code automates login access & posts "Happy Birthday" on the timeline of people having birthdays.

Notifications You must be signed in to change notification settings

swarajshaw/AutoPost-FB

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

AutoPost-FB

This Python script uses Selenium for automating browsing and logging to facebook using users credentials and posts, Happy Birthday to everyone who has a birthday on the current day. It runs on a Firefox browser using the Geckodriver.

Installation

Use the package manager pip to install Selenium.

pip install selenium

Latest Geckodriver download and unzip to current working directory.

Usage

from selenium import webdriver
from selenium.webdriver.common.keys import Keys
import getpass

id = input('Enter your Email ID or Phone No. - ')
key = getpass.getpass('Enter your Password - ')
driver = webdriver.Firefox(executable_path="folder_path/geckodriver")

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT

About

Given username credentials, this block of code automates login access & posts "Happy Birthday" on the timeline of people having birthdays.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages