Installation
Get started with InstaFlow in a few simple steps.
InstaFlow requires Python 3.8 or higher and Google Chrome browser.
Install the latest stable version from PyPI:
pip install instaflow
Configuration
Create a .env
file in your project root with your Instagram credentials:
# Instagram Credentials
INSTAGRAM_USERNAME=your_username
INSTAGRAM_PASSWORD=your_password
# Security
COOKIE_ENCRYPTION_KEY=generate_a_random_32_byte_key_and_put_it_here
# Optional configuration
CONFIG_HEADLESS=false
CONFIG_LOG_LEVEL=INFO
Verify Installation
Run the following command to verify that InstaFlow is installed correctly:
python -c "from instaflow import InstagramBot; print('InstaFlow is installed!')"