12 Dec
Posted by Harper as Technology at 02:51 AM
Tags: Technology
So I love playing with fancy things. And twitter is one of those fancy things. In fact – it has been on my mind quite a bit. Like I said a couple posts ago, I have been thinking about writing a utility that will set your IM status based on your twitter update. It will be awesome. But in the meantime I whipped up a quick hack to help yall hook your twitter into your IRC application.
The first step is to secure a aim screenname that you are not using. It is best to get one that isn’t at all known. Because any traffic to the screenname will be reflected in the channel. You can sign up for a new one here. Once you get a really shiny and new screen name, you can go to twitter.com and register it with your twitter account. I made a new twitter account for my IRC channel so that I can follow all my friends that are on IRC.
The next step is a bit more complicated. You are going to have to be ready to get your hands a bit dirty in a shell. It isn’t really rough, but if you are not ready to run a Perl script – then read up and try it out! So go and get my quick little aim2irc.pl hack I made tonight. It is just a simple Perl script that logs into aim with the new screenname you got and then logs into your IRC channel.
So when you grab the script and run it with a
[nata2] jhr > perl ./aim2irc.pl
It will log into aim, log into IRC and then sit there waiting to be messaged by whomever knows your fancy new screenname – which should be the twitter app. So then when your buddies update their twitter timeline it will message your new aim name and that will then be sent to your IRC channel. like so:
01:33|<“twitter> harper: About to finish the second season of lost. And my IRC bot is almost done. I rule!
So this is sent into my channel #corporate from my twitter status update. It shows up as coming from my twitter bot and shows exactly what the aim message says – which fancy enough is a good amount of information for an IRC bot for twitter to share.
So there yea go. I am awesome. Again. Definitely let me know how it goes for you. Feel free to check out my twitter status or check out my IRC channel. btw. IRC owns.
Unique visitors to post: 120
4 Responses
derek
December 12th, 2006 at 5:24 pm
1this is exactly why twitter needs to create groups. that way people could watch groups without having to create a bunk user account.
Harper
December 13th, 2006 at 2:38 am
2That is true. I was thinking how groups would be awesome. You could create a work group – which then has different users and accounts that it would alert(work phohe, work email, work aim, etc) and a friends group (friend contact info). It would be nice.
My newest twitter hack: Twitter IRC bot » Harper Reed: Tech, Phones, Parties, Yo-yoing
March 17th, 2007 at 7:19 pm
3[...] other day, I decided to finish up a twitter hack idea I had and never fully executed. Awhile ago I made a bot that output the updates of my friends into my IRC channel. I did this by writing a quick bot that would log into a dedicated AIM account which received [...]
Bradley
October 26th, 2007 at 1:53 pm
4bitlbee is another solution to hook twitter up to IRC, since bitlbee can gateway AIM and/or Jabber to IRC on your local machine.
Be sure and take a gander at my photos.
If you want to contact me click here to start a chat.
Status
follow me on Twitter
Pictures
Friends
Popular Tags
action awesome blogs books bush cell chicago chris colorado crobar dylan family food games google hacking harper hiromi humor india insane internet iraq job juggle juggling matiss metal movies music nokia phone php politic reed rock school search server sick Sites Technology travel video war
search
Categories
Archives
Recent Entries
Recent Comments
Most Commented
Nata2.org is © 1997-2008 Harper Reed. Theme stoled and inspired by the great BloggingPro theme by: Design Disease