Riffing of the QIS tool from Al Shaw and ProPublica, searchstagram is a quick Flask/backbone.js application to search Instagram's API by a user's location or a submitted address.
Getting Setup
-
Download the zip or clone the repo locally
-
Install the requirements from
requirements.txt
into a virtual enviroment, or just straight into the system environment if you prefer.pip install -r requirements.txt
-
If you don't already, register for an Instagram account, and then register a Instagram client application. I set my OAuth redirect_uri to http://localhost:5000/.
-
Create a file called
config.py
in the same folder asapp.py
. Add the following code with your INSTAGRAM_CLIENT_ID and INSTAGRAM_CLIENT_SECRET in place of the # signs.config_settings = { 'INSTAGRAM_CLIENT_ID': '#', 'INSTAGRAM_CLIENT_SECRET': '#', }
-
Change into the searchstagram directory, run
python __init__.py
and visithttp://127.0.0.1:5000/
in your browswer. -
Type in an address to search, or use your current location.
Articles written using Searchstagram