Skip to main content

Mezzanine Instagram Feed

Connect Mezzanine sites to Instagram feeds

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 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)

Source distribution for mezzanine-instagram-feed 1.1.0
File Size Uploaded
mezzanine-instagram-feed-1.1.0.tar.gz 4.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for mezzanine-instagram-feed 1.1.0
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

1.1.0 This release

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page