Skip to content

A quick Flask application to search the Instagram and Twitter API by user location or submitted address and date/time.

License

Notifications You must be signed in to change notification settings

chrislkeller/searchstagram

Repository files navigation

searchstagram

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.

ScreenShot

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 as app.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 visit http://127.0.0.1:5000/ in your browswer.

  • Type in an address to search, or use your current location.

Articles written using Searchstagram

About

A quick Flask application to search the Instagram and Twitter API by user location or submitted address and date/time.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published