This script automates the login process for Facebook using Python and generate cookies , json cookies both.
Before running the script, ensure you have the following installed:
- Python 3.x
- BeautifulSoup (
bs4
) library - Requests library
You can install the required libraries using pip:
pip install beautifulsoup4
pip install requests
git clone https://github.com/VIBE81/cookiesconvert
cd cookiesconvert
( Choose Your Python Version )
[+] For Python2:
python2 cookies.py
[+] For Python3:
python3 cookies.py