py-xchat-twitter


Python plugin for twitting in your XChat

Note

As you know, twitter moves to OAuth completely and I have no plan for changing the code to OAuth. If I have time, I might do this but don't hold your breath :)

Anyway, patches are welcome if you think you can't live without py-xchat-twitter.

Introduction

py-xchat-twitter is a twitter client written as an XChat Python plugin. It allows you to tweet, read friends' timeline and check your replies. The twitter output will be sent out to an IRC channel of your choice (so, if you don't want to mix up your tweet and your chat, create a new channel and make it private).

This plugin should be compatible with both XChat and XChat-Aqua and it requires urllib2, base64 and simplejson , which you need to install separately. To install this plugin, put it in your .xchat2 then restart your XChat (for XChat-Aqua, it will be /Applications/X-Chat Aqua/Plugins), the plugin should be loaded automatically.

Command

Following is the list of commands provided by this plugin: |/tweet "message" or /tw "message"|tweeting| |:------------------------------------------|:-------| |/rt "name" "message" |re-tweeting| |/dm "name" "message" | direct message| |/friends |retrieving friends' timeline| |/replies |retrieving replies (@yourname) timeline| |/follow "screen name" |follow a person using the screen name| |/unfollow "screen name" |unfollow a person using the screen name|

Configuration

For configuration, please create a file called .xchattwitt.cfg in your home folder with following format

[twitter] username = your_twitter_login_name password = your_twitter_password channel = your_irc_channel_name interval = 300

For the first three configurations, you should be able to guest. This plugin will join the channel that you specify in the channel parameter automatically. By the way, no # in front of the channel name. For the interval, it's friends' timeline update interval in second.

Status

Current version: 1.3.2 * Fixed issue #2

Screenshot

http://project-ile.net/lulu/images/screenshot-py-xchat-twitter.png

Project Information

Labels:
twitter xchat python plugin