Skip to content

dhruvs009/StitchIg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

StitchIg!

A simple web application that fetches images from your Instagram feed (requires authentication from your Instagram account) and returns a stitched 196x196 image in a square grid, with square thumbnails of these images. Adios.

How to use (doesn't work yet, this application needs permissions from Instagram):

  1. Go to my website, open the Menu dropdown from the header bar (or from the side drawer if on the mobile browser) and click on StitchIg! (or open this link).
  2. Authorize the app to access your Instagram images.
  3. Voila!

How to clone:

  1. Follow the Instagram API guide to obtain a Client ID, Client Secret, and a redirect URI here.
  2. Clone the project on your system.
  3. Create a .env file having CLIENT_ID, CLIENT_SECRET, REDIRECT_URI as obtained.
  4. Install all dependencies and run python app.py.
  5. Open https://www.instagram.com/oauth/authorize?client_id=3311032495590903&redirect_uri={redirect-uri}&scope=user_profile,user_media&response_type=code in a browser, replacing {redirect-uri} with REDIRECT_URI.
  6. The browser redirects to {redirect-uri}/?code={code}.
  7. Change {redirect-uri} to localhost:5000 to get the stitched image.
  8. Alternatively, you may deploy the Flask app to some hosting service, and change {redirect-uri} as per your convenience.

Dhruv Sahnan
Quarantine | COVID-19
What to do when you're on house arrest.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages