Connect Mezzanine 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 %}
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.0.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3f32c5ecf67e8271926fa1c632483d07302c51a4db533fd0517d511003b85713 |
|
MD5 | 7420c6568dd761f1d7513826514844b2 |
|
BLAKE2b-256 | d69405c8fa3c215bf5716f40eda966dc9cd21a91bbf6943d806d8f3456fce0f8 |
Close
Hashes for mezzanine_instagram_feed-1.0.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 669058d8f85ea81ad7c0387038e76b3ee5b84ff639974972d166bfb257c55d42 |
|
MD5 | 5e3de2c6c059d952366c7999b0c61065 |
|
BLAKE2b-256 | 1956c8a025901b3f42836ff4085cd38fc9b77a008e1fcc0cb5f431f749781034 |