This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

Twitter client with OAuth + Twitter OAuth library

Support & discussion of released scripts, and announcements of new releases.
Post Reply
h
horgh
Voice
Posts: 10
Joined: Sat Feb 13, 2010 3:12 pm

Twitter client with OAuth + Twitter OAuth library

Post by horgh »

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.
Post Reply