Connect Mezzaine sites to Instagram feeds
Project description
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mezzanine-instagram-feed-1.1.0.tar.gz.
File metadata
- Download URL: mezzanine-instagram-feed-1.1.0.tar.gz
- Upload date:
- Size: 4.8 kB
- Tags: Source
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ff1766dfe6c2d35409d18a0a26b314d901ebcaaa489e5ca199b147af9a39d760
|
|
| MD5 |
82fa36dc6bcf53f9d1e452e71ecd179e
|
|
| BLAKE2b-256 |
9f342224de21201eb16d68a81e8a0236746005d491d2f1397b07792aaf7d636c
|
File details
Details for the file mezzanine_instagram_feed-1.1.0-py2.py3-none-any.whl.
File metadata
- Download URL: mezzanine_instagram_feed-1.1.0-py2.py3-none-any.whl
- Upload date:
- Size: 5.7 kB
- Tags: Python 2, Python 3
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2b56c72da46aa8a42440ee553ef92be6ccfc0d2b3194801ce12ed8993edf59dc
|
|
| MD5 |
f3d0192d741940db95ae1567a06dbf05
|
|
| BLAKE2b-256 |
57a81d307905bb3caab20d59ff95446f6ad70a36a9a3aac78bd0bfc14b23c451
|