arevish / Facebook-automatic-login

This is a Python script to automate the login process on Facebook.com. It uses "Selenium" and "Chrome Webdriver_Manager" library to automate the process.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Automatic Facebook Login With Python forthebadge

This is a Python script to automate the login process on Facebook.com. It uses Python 3.x and Selenium library to automate the process.

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.

Exception

If your drivers(ChromeDriverManager or GeckoDriverManager) are not installed then You need to have a proper Internet to install the required drivers.


Module used

python modules

Selenium
Chrome Webdriver_Manager
colored

PRE-REQUISITES

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".

  1. 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. ⚠️

  2. 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. ⚠️

  3. Install Colored using "PIP" pip install colored.


Run using Python3.8+

  1. Clone or download repositiory: https://github.com/arevish/Facebook-automatic-login.git
  2. In source folder, run python facebook-auto-login.py to start program, optionally, run with --help argument to see other runtime options.

ThankYou!

About

This is a Python script to automate the login process on Facebook.com. It uses "Selenium" and "Chrome Webdriver_Manager" library to automate the process.


Languages

Language:Python 100.0%