Python script to download locally all the media from an instagram account
- You need a Business App on https://developers.facebook.com/
- You need to add the Instagram API to your app.
- Retrieve the USER_ID and ACCESS_TOKEN by linking a creator or business ig account to your app.
- Store those variables into a .env file in the root of your project.
- Create a virtual environment using venv
python -m venv name_of_venv_folder
- Install all the dependencies from the requirement.txt file
pip install -r requirements.txt
- Execute the script
python -m instagram_media_downloader
and wait till all the media are downloaded into the/instagram_media
folder.