I believe everyone’s heard that Twitter will be doing away with basic authentication come June ’10. They’re switching to OAuth. It’s a mechanism via which a consumer (C) and access the resources of a site (S), on behalf of a user (U), without a username or a password being provided to C by U. ( C can be either an application or a website, U is a user registered on S .)
In our case, C is our application ( which here is OwlKun). U is you – your twitter account. S is Twitter.
Now, every python twitter API/library will eventually have to switch to OAuth, and many have already done so, but there is absolutely no comprehensive documentation on how to go about integrating your app with twitter, using any given language apart from the existing source code.
Lines 75-104 contain the OAuth specific material, others contain integration stuff so that you can actually run these commands from inside vim. :)
Etymology : OwlKun = Owl ( Stays awake at nights, it was night time when I wrote this ) + Kun = Friend (
Since I have no friends since it’s a nice and friendly application that’s well documented. )