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.
- 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).
- Authorize the app to access your Instagram images.
- Voila!
- Follow the Instagram API guide to obtain a Client ID, Client Secret, and a redirect URI here.
- Clone the project on your system.
- Create a .env file having CLIENT_ID, CLIENT_SECRET, REDIRECT_URI as obtained.
- Install all dependencies and run
python app.py. - Open
https://www.instagram.com/oauth/authorize?client_id=3311032495590903&redirect_uri={redirect-uri}&scope=user_profile,user_media&response_type=codein a browser, replacing{redirect-uri}with REDIRECT_URI. - The browser redirects to
{redirect-uri}/?code={code}. - Change
{redirect-uri}tolocalhost:5000to get the stitched image. - 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.