Hi
I've added OAuth authentication to the Twitter script fedex and I wrote. The OAuth support is in a separate file and is usable as a library.
The script itself will report all tweets seen by a single twitter account and gives the ability to interact with that account, such as sending tweets, etc.
There are instructions on how to get it working in the header comments of the two files in the zip.
Note: You need tcl 8.5+ and tcllib for this script.
To get up and running you need to do:
- set consumer key/secret in oauth.tcl
- set channel in twitter.tcl
- once bot is on IRC, !twit_request_token in a channel set +twitter
You can get the files here: http://github.com/horgh/twitter-tcl.
There is a bit more information about usage and the script at these links that I don't really feel like repeating!:
- re OAuth: http://www.summercat.com/2010/05/oauth- ... cript.html
- re the Twitter script itself: http://www.summercat.com/2010/04/twitte ... cript.html
The header comments should be sufficient though.
Also, I haven't done a huge amount of testing, so there are probably issues to find!
Edit: I changed the link for downloading to the github page for the script as the zip is no longer up to date.