skip to navigation
skip to content

django-twitter-feed 0.1

A simple Django app to show a Twitter feed.

Latest Version: 0.2


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

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


1.Add it to your "INSTALLED_APPS" settings:


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


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

4.Run the following command lines to test your Twitter credentials and save the initial feeds:
* `python update_tweets`
* `python 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>
{% endfor %}

7.Make sure `python update_tweets` is regurlalry called.  
File Type Py Version Uploaded on Size
django-twitter-feed-0.1.tar.gz (md5) Source 2014-06-29 3KB
  • Downloads (All Versions):
  • 6 downloads in the last day
  • 37 downloads in the last week
  • 197 downloads in the last month