Fetch Instagram followers and following, then save usernames to text files.
pip install -r requirements.txtCopy config.example.json to config.json and add your Instagram cookies:
sessionid- Your Instagram session IDcsrftoken- CSRF tokends_user_id- Your user ID
python instagram_followers.pyOutputs:
followers.json- Full follower datafollowing.json- Full following datainstagram followers YYYY-MM-DD.txt- Followers usernames listinstagram following YYYY-MM-DD.txt- Following usernames list