python-twitter 1.0 for API 1.1

With Twitter turning of the older API 1.0 today in favour of API 1.1, developers of bots and applications that used the older API need to either upgrade their apps, or they’re die a sad and lonely death.

I have a couple bots written using python-twitter module which broke – thankfully it’s just an easy case of updating the module to version 1.0 (an unfortunate version they should have made it version 1.1 to match Twitter). ;-)

If you’re using RHEL/CentOS/etc, EPEL includes a python-twitter package, but it’s way out of date. Instead, I have RPMs of version 1.0 available for EL5/6 in my repositories. You will want to enable both EPEL and the “amberdms-os” repository before you can install the RPM – EPEL includes a number of Python dependencies I don’t ship myself.

2 thoughts on “python-twitter 1.0 for API 1.1

  1. David Cole

    Have you found anyone use this to to a twitter to RSS?

    Specifcally Private twitter list to RSS.

    Reply
    1. Jethro Carr Post author

      I haven’t personally seen it myself, but it would be very easy to write – if you want an idea of how easy it is to write twitter bots, take a look at a couple simple ones I use: https://projects.jethrocarr.com/p/oss-smallscripts/source/tree/HEAD/trunk/twitter

      Essentially you just need to do an api.GetUserTimeline to grab the latest tweets from a user and then grab a module for doing easy RSS feed generation and host the Python script on a webserver somewhere.

      Reply

Leave a Reply