This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description
django-twitter-feed
===================

Really simple app to show a Twitter feed in your Django application.

It's using a a task to update the feed regularly.


Set-up:
-------

1.Add it to your "INSTALLED_APPS" settings:

INSTALLED_APPS = (
...
'twitter_feed',
...
)

2.Add your twitter account API access in the settings like this:

TWITTER_FEED_CONSUMER_PUBLIC_KEY = '...'
TWITTER_FEED_CONSUMER_SECRET = '...'
TWITTER_FEED_OPEN_AUTH_TOKEN = '...'
TWITTER_FEED_OPEN_AUTH_SECRET = '...'

3.Run `python manage.py migrate` (if you use South) or `python manage.py syncdb`

4.Run the following command lines to test your Twitter credentials and save the initial feeds:
* `python manage.py update_tweets`
* `python manage.py show_tweets`

5.In a template, show the latest 10 tweets for example:

{% load twitter_feed_tags %}
{% latest_tweets 10 %}

6.Customise the template - simply create a copy of `twitter_feed/latest_tweets.html` and edit it.

For example:

{% load twitter_feed_tags %}

<div class="tweets">
{% for tweet in tweets %}
<div class="tweet">
<p>{{ tweet.content|linkify_twitter_status|urlize|url_target_blank }}</p>
<p class="date">{{ tweet.published_at|date:"F d, Y" }}</p>
</div>
{% endfor %}
</div>

7.Make sure `python manage.py update_tweets` is regurlalry called.
Release History

Release History

0.2

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

0.1

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

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
django-twitter-feed-0.2.tar.gz (4.1 kB) Copy SHA256 Checksum SHA256 Source Jun 29, 2014

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS HPE HPE Development 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