Blog Posts for twitter

Create a Simple Twitter App in Django

2010 August 15

Doing a quick google for "django twitter" will reveal the numerous twitter apps that are available - however most are best suited for large user driven projects. If you're wanting to pull down a single user's twitter timeline - on a personal blog or portfolio for example - then these other apps might appear a bit over the top.

In this post I'll look at registering your own twitter app, creating some simple template tags for grabbing your tweets that work with the new (and now required) twitter oauth, and lastly setting up a cron job for keeping your tweets cached so as to avoid exceeding your maximum hourly request limit as well as avoiding any blocking functionality on your website.

continue reading