An online dashboard to search for Instagram posts in a certain location and plot those on a map.
- Also allows the user to upload their own geolocation CSV file to plot.
- This is an expansion of the ´instagram-location-search´ repo found here
This section
This requires your Instagram cookies
How to find them?
- Sign into Instagram
- Open the Developer console (´Ctrl+Shift+I´ in some browsers)
- Chrome
- Navigate to Application tab
- Firefox
- Navigate to Storage tab
- Copy and paste the "Value" column for each cookie from the image into the Cookie format
Cookie format:
'cookie="mid=; ig_did=; csrftoken=; ds_user_id=; sessionid=; shbid=; shbts=; datr=; rur="'
- Click upload file
- Choose CSV file with GPS coordinates columns
Assumes you have Python3.11 and its ´virtualenv´ pip library
- Clone the repo
- Run
python3.11 -m venv env
- Run
source env/bin/activate
- Run
streamlit run app/main.py
- Create a file called
.env
in the root directory and create a variable calledINSTAGRAM_COOKIES
Using this file structure for Streamlit: https://github.com/ash2shukla/streamlit-heroku/blob/master/app/main.py