Mezzanine Instagram Feed
Connect Mezzanine sites to Instagram feeds
Installation
- Install via pip:
pip install mezzanine-instagram-feed. - Add
instagramfeedto yourINSTALLED_APPS.
Usage
Load the templatetag library and pass the username you want to query to the instagramfeed_photos template tag.
{% load instagramfeed_tags %}
{% instagram_posts "USERNAME HERE" as posts %}
{% for posts in post %}
<a href="https://instagram.com/p/{{ post.shortcode }}">
<img src="{{ post.thumbnail_src }}" alt="{{ post.edge_media_to_caption.edges.0.node.text }}">
</a>
{% endfor %}
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.
Release files for mezzanine-instagram-feed 1.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| mezzanine-instagram-feed-1.1.0.tar.gz | 4.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| mezzanine_instagram_feed-1.1.0-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
Total release size: 10.5 kB
Release files / mezzanine-instagram-feed-1.1.0.tar.gz
| Download URL | mezzanine-instagram-feed-1.1.0.tar.gz |
|---|---|
| Size | 4.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ff1766dfe6c2d35409d18a0a26b314d901ebcaaa489e5ca199b147af9a39d760
|
|
BLAKE2b-256 checksum How to use checksums |
9f342224de21201eb16d68a81e8a0236746005d491d2f1397b07792aaf7d636c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.3
|
Release files / mezzanine_instagram_feed-1.1.0-py2.py3-none-any.whl
| Download URL | mezzanine_instagram_feed-1.1.0-py2.py3-none-any.whl |
|---|---|
| Size | 5.7 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
2b56c72da46aa8a42440ee553ef92be6ccfc0d2b3194801ce12ed8993edf59dc
|
|
BLAKE2b-256 checksum How to use checksums |
57a81d307905bb3caab20d59ff95446f6ad70a36a9a3aac78bd0bfc14b23c451
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.3
|