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
instagramfeed
to 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
Close
Hashes for mezzanine-instagram-feed-1.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ff1766dfe6c2d35409d18a0a26b314d901ebcaaa489e5ca199b147af9a39d760 |
|
MD5 | 82fa36dc6bcf53f9d1e452e71ecd179e |
|
BLAKE2b-256 | 9f342224de21201eb16d68a81e8a0236746005d491d2f1397b07792aaf7d636c |
Close
Hashes for mezzanine_instagram_feed-1.1.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2b56c72da46aa8a42440ee553ef92be6ccfc0d2b3194801ce12ed8993edf59dc |
|
MD5 | f3d0192d741940db95ae1567a06dbf05 |
|
BLAKE2b-256 | 57a81d307905bb3caab20d59ff95446f6ad70a36a9a3aac78bd0bfc14b23c451 |