Wednesday, September 01, 2010

Twitter via weechat + tircd

I've been accessing twitter through the weechat irc client using tircd. That worked pretty well until twitter switch to OAuth authentication for all twitter API clients.

Helpful hints:

  1. has directions for oauth, but leaves out the fact that a (fake) password is still required, even after setting the username to "oauth".
  2. The download version of tircd (0.10, although when run it thinks it's 0.08) doesn't seem to work with oauth. See, and then download a forked version from
  3. weechat expects "/stats" to be run in a window connected to the server. For twitter there wasn't yet one, because the oauth handshake still needed a PIN to be sent. As the tircd homepage suggested, I used "/quote -server twitter stats pin MYPIN", where my weechat config uses "twitter" as the internal server name for tircd configuration.
  4. The twitter oauth PIN seems to have been cached somewhere. I've no idea where, so I'm sure this will bite me eventually.


  1. Thanks for this post, it was exactly the information I needed to get tircd working correctly.

  2. Hey Grant, is this still working for you? I'm trying to get weechat and tircd working and it keeps dying with this: GET failed: 400 Bad Request at /usr/share/perl5/vendor_perl/Net/Twitter/ line 212.

  3. It's still working for me. *Shrug*



Label Cloud