Twitter Bot Upgraded

Twitter Bird SketchTwitter bot, the network bot that posts your Twitter updates in your channel, works with the new Twitter API now, thanks to some code wrangling by the admin, the tech, and the teacher, Allan Jude (also network staff). Hooray!

The bad news is that in the process of updating things recently, we discovered some corrupt information in the database the bot uses to determine which channels to join. Unfortunately some records were lost. If the Twitter bot hasn’t joined your channel again, you will need to register again. We apologize for the inconvenience.

If you weren’t using the Twitter bot, register now to have your status updates shared in your channel. It’s a simple process. Let us know in #help if you have any questions.

 

—posted by Tengrrl/Bunny

 

Twitter in your channel

GeekShed provides a twitter bot, aptly named “Twitter”, to provide you with a twitter feed in your channel. It’s very easy to use and doesn’t require that you give over your twitter login. Remember, GeekShed will never ask you for your Twitter login! To use it, follow these simple steps:

All of the commands below need to be done in a PM (private message) with the bot (Twitter).

Register with the bot

Send a PM to the IRC user “Twitter” with the !register command. The syntax of this is: !register <username> <password>. Username and password are the credentials you will use to log into the bot in future. An example of this is:

!register fred asecretpassword

Allow the bot to read your twitter feed

When you register, you will be presented with a URL that you must go to and log into your twitter account. Click the “Allow” button and you will be given a PIN code. Now return back to the bot and use the !pin command to tell the bot what your PIN number is. The syntax of this is: !pin <usernam> <password> <pin>. An example of this is:

!pin fred asecretpassword 5984934

If this is successful, the bot will tell you so.

Add your channel(s)

You can add up to 10 channels to the bot. You must be an op in a channel in order to add the bot to it. To make the bot announce your tweets in a channel, you need to use the !addchan command. This will make the bot join that channel if it’s not already in there. The syntax of this command is: !addchan <username> <password> <channel>. An example of this is:

!addchan fred asecretpassword #fred

You can do this command again to add your twitter feed to more channels.

Tweet and wait

Due to the limitations of Twitter’s API, the bot looks for new tweets every 60 seconds. Within 60 seconds of you tweeting, your tweet will show up in all of the channels you have added.

Other commands

You can delete your account and remove the bot from a channel using other commands in the bot. PM the bot “!help” to see these commands.

If you have any issues with this, please let us know in #help.