r _Web.log

tag: twitter

Twitter Punctuation Statistics

Meet @textstats, a twitter bot whose only goal in life is to analyse your punctuation habits.

Tweet "@textstats punctuation" for your percentile scores as regards how frequently you use commas, semicolons, and so forth. It transpires that I use more commas that 93% of the English-speaking population of Twitter, which, frankly, isn't too surprising.

github migration

Some new appearances on github/ideoforms:

tweetarchive: Archive your Twitter feed to CSV

K https://github.com/ideoforms/tweetarchive

I've long wanted a method of exporting Twitter posts to a text-based format -- partly for the joy associated with being able to access my feed with standard text tools (twitter grep, anyone?), and partly for the peace of mind that's difficult to associate with a third-party content host. Their API also provides a limit of 3200 historical tweets per timeline, meaning that, eventually, your past posts will be inaccessible.

So, in a spare moment, I created tweetarchive, a lightweight Python-based tool to export complete timelines in CSV.


  • uses the tweepy library with oauth for protected accounts
  • only archives tweets created since your previous export
  • writes CSV output with user-specified format - so select what fields you'd like to archive
  • uses time delays to avoid hitting load throttling
  • client-side, meaning no need to give third-party apps access to your auth tokens

Download it here (requires git).

Hackpact 2009/09/#5: Embryonic web apps with Twitter and Django


I've long wanted to realize a couple of conceptual ideas relating to Twitter as a platform for formal text games. So, today's hackpact time (notably, the first session on a weekend) was spent getting to grips with @henriklied's fine django-twitter-oauth code, which allows a web app to be wrapped around Twitter's native authentication - thus enabling web apps that play around with the content of other people's friend feeds without requiring them to hand over their credentials. Neat.