This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!
Project Description

Installation

In virtualenv:

$ pip install mezzanine_instagram

Configuration

In settings.py:

INSTALLED_APPS = (
    ...
    'mezzanine_instagram',
)

DASHBOARD_TAGS = (
    ...
    ("mezzanine_tags.recent_actions", 'instagram_tags.instagram',),
)

INSTAGRAM_CLIENT_ID = os.getenv('INSTAGRAM_CLIENT_ID')
INSTAGRAM_CLIENT_SECRET = os.getenv('INSTAGRAM_CLIENT_SECRET')

In urls.py:

urlpatterns = patterns(
    '',
    ("^instagram/", include("mezzanine_instagram.urls")),
    ...
)

Configure INSTAGRAM_CLIENT_ID and INSTAGRAM_CLIENT_SECRET environment variables. Access Django admin, click Authorize Instagram.

Once you’ve authorized your site you’ll be able to access /instagram/ in your browser to view the feed for the authorized user.

Media Stream

Requires a caching mechanism like Memcached, Database or Filesystem. Will not work with Local-memory or Dummy.

Add a tag or more to use when generating the stream by going to Dashboard > Tags. Then run the provided management command to generate the stream.

$ python manage.py build_tags_stream

Now you can access the Media in Dashboard. At first all images have a green outline indicating that they’ll be shown to the public. Click on the image to exclude it from your stream (the outline will turn red).

We recommend using cron or similar to run the management command on a regular basis. Please be aware that Instagram limits how often you can access their API.

The curated media stream is available to the public at /instagram/tags/.

Release History

Release History

v0.0.1.dev2

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
mezzanine_instagram-v0.0.1.dev1.tar.gz (4.3 kB) Copy SHA256 Checksum SHA256 Source Feb 9, 2015

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting