Tired of limitations when trying to repost saved Instagram pics? Instagram's API doesn't directly support reposting saved media. iGallery offers a workaround! This Django web app lets you view your saved Instagram pictures and provides a way to download them, making it easy to repost them as you wish.
- Instagram Authentication: Securely log in with your Instagram account.
- View Saved Pictures: Browse through all the pictures you've saved on Instagram.
- Download for Reposting: Download your saved pictures locally. Repost them using Instagram's regular posting features—no more restrictions!
- Python 3.7+ (check with
python --version
) - pip (usually comes with Python - check with
pip --version
) - Git (optional for cloning the repo - check with
git --version
)
-
Clone the Repository (Optional):
git clone https://github.com/your-username/igallery.git cd igallery
-
Create and Activate a Virtual Environment:
python -m venv .venv source .venv/bin/activate # On Windows: .venv\Scripts\activate
-
Install Dependencies:
pip install -r requirements.txt
-
Set Up Instagram App Credentials:
- Create an Instagram developer account.
- Register a new app, selecting "Consumer" as the app type.
- In your app settings, set the following:
- Valid OAuth Redirect URIs:
https://localhost:8000/instagram/callback/
(adjust the port if needed).
- Valid OAuth Redirect URIs:
- Obtain your app's Client ID and Client Secret.
- Create a
.env
file in your project root:INSTAGRAM_CLIENT_ID=your_client_id INSTAGRAM_CLIENT_SECRET=your_client_secret DJANGO_SECRET_KEY=your_django_secret_key
-
Apply Migrations:
python manage.py migrate
-
Run the Development Server:
python manage.py runserver
-
Access the App:
- Open your web browser and go to
http://127.0.0.1:8000/
(or your specified port).
- Open your web browser and go to
- We strongly recommend NOT hardcoding sensitive information directly into the code.
- Use a robust production server and deployment strategy for live environments.
- Consider using HTTPS for all communication.
Contributions are welcome! Please open an issue or submit a pull request if you have any ideas or improvements.
This project is licensed under the MIT License.