https://github.com/unplugstudio/mezzanine-instagram-feed
Instagram feeds for Mezzanine sites
https://github.com/unplugstudio/mezzanine-instagram-feed
Last synced: over 1 year ago
JSON representation
Instagram feeds for Mezzanine sites
- Host: GitHub
- URL: https://github.com/unplugstudio/mezzanine-instagram-feed
- Owner: unplugstudio
- License: mit
- Created: 2020-03-06T04:53:09.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-02-28T19:42:58.000Z (over 3 years ago)
- Last Synced: 2025-02-23T16:47:38.480Z (over 1 year ago)
- Language: Python
- Size: 13.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# Mezzanine Instagram Feed
Connect Mezzanine sites to Instagram feeds.
[](https://badge.fury.io/py/mezzanine-instagram-feed)

## Installation
1. Install via pip: `pip install mezzanine-instagram-feed`.
2. Add `instagramfeed` to your `INSTALLED_APPS`.
## Usage
Load the templatetag library and pass the username you want to query to the `instagram_posts` template tag.
```django
{% load instagramfeed_tags %}
{% instagram_posts "USERNAME HERE" as posts %}
{% for posts in post %}
{% endfor %}
```
**Keep in mind requests to Instagram are cached for 8 hours so new page loads don't always trigger new requests.**
## Configuration
Configuration variables read from `settings.py`:
| Setting | Default | Description |
| ---------------- | ------- | ------------------------------------------------------------- |
| `SCRAPERAPI_KEY` | `None` | If set will use scraperapi.com to proxy requests to Instagram |
## Contributing
Review contribution guidelines at [CONTRIBUTING.md].
[CONTRIBUTING.md]: CONTRIBUTING.md