Topic: Installing & using Twirssi (irssi twitter client)

Twirssi allows you to post to Twitter from as well as:

    * Read your friend feed, and your replies (from people on and not on your feed).
    * Receive and send direct messages (DMs)
    * Use multiple accounts - follow, read and send
    * See the context when your friends reply to users you aren't following

Before installing you'll need irssi (duh), Net::Twitter and WWW::Shorten::TinyURL.

Installing Irssi
Pretty simple:

sudo apt-get install irssi

I won't go into details on using irssi, but this guide should get ya goin' if you've never used it before.



Installing Net::Twitter

Open up a terminal and run

sudo perl -MCPAN -e shell

If it's your first time using cpan it'll ask you a few questions about configuring it.  I just typed yes on the first question to let it configure itself, you can do whatever you'd like.

Once it's done loading you should see a cpan[1]>
Type the following: (each one being a seperate command)

reload index
install Net::Twitter
 (I recommend typing yes to all the questions of installing other/required modules)


Installing WWW::Shorten::TinyURL
While still in CPan type:

install WWW::Shorten::TinyURL

This will shorten any url you give it before it tweets, so there's no command you need to use.



Installing Twirssi
Download the script: http://twirssi.com/twirssi.pl

Put it in either ~/.irssi/scripts or ~/.irssi/scripts/autorun.  It should be easy to see what the difference is, but if not, scripts in /autorun load when irssi starts.

& setting it up
Open a terminal and type the following:

irssi
/window new hidden
/window name twitter
/script load ~/.irssi/scripts/autorun/twissir.pl (or wherever you put it)

Twirssi should come up in the newly created twitter window.  To have that window come up each time (allowing twirssi to autostart), type /layout save  (note that this saves the layout of every window, so be sure to close private messages and unwanted channels first).

To login     -    /twitter_login username password
To tweet    -    /tweet yourstatus
To reply     -    /twitter_reply username:num

To set an account to automatically login type:
/twitter_usernames username
/twitter_passwords password

You can see a full list of the commands here

Edit; forgot a screenshot!
http://www.picamatic.com/show/2009/01/11/02/23/1718226_bigthumb.png

Hope this helps somebody. smile

Last edited by dannytatom (2009-01-10 23:32:29)

.files
dnyy in IRC & Urban Terror

Re: Installing & using Twirssi (irssi twitter client)

This will be a huge help when I get around to trying it. Thanks for the effort big_smile

foomandoonian's tumblelog & twitter

Re: Installing & using Twirssi (irssi twitter client)

Sweet, will try this soon. A bit to tired right now smile

Wrapped in just a blanket I was sent here from far far away to protect the people of this world! *NOT*
Last.fm

Re: Installing & using Twirssi (irssi twitter client)

Just when I'd abondoned irssi,  a reason to try it again smile

Re: Installing & using Twirssi (irssi twitter client)

Well I hope you get to see a better side of irssi this time smile
It is truly an amazing application!

Wrapped in just a blanket I was sent here from far far away to protect the people of this world! *NOT*
Last.fm

Re: Installing & using Twirssi (irssi twitter client)

Thanks for doing all the initial "plunge" work danny, while I don't have a reason to use twitter there were a few in IRC today interested in this program.

I view KDE like I view snow. It looks fun and marvelous, it's fun to play in, but after a while I just want someone to take it all away.

Re: Installing & using Twirssi (irssi twitter client)

Thanks a lot again big_smile

HANNA (without "h" in the end) likes green and #! smile
Also know as ultraturquoise online / #! last.fm / #! DeviantART / U / Q

Re: Installing & using Twirssi (irssi twitter client)

You're mighty welcome, everyone. big_smile

& omns, why would you abandon irssi?  It's the greatest IRC app I've ever used. yikes

.files
dnyy in IRC & Urban Terror

Re: Installing & using Twirssi (irssi twitter client)

dannytatom wrote:

You're mighty welcome, everyone. big_smile

& omns, why would you abandon irssi?  It's the greatest IRC app I've ever used. yikes

Agreed. I install two command line apps on any system I use (win or Linux):

Lynx and Irssi

Ex-KDE user.
Collects old PC's (Coz he can't afford new ones =P)
Crunchbang @ Distrowatch
My Blog (updated infrequently, and on the #! Planet too.)

Re: Installing & using Twirssi (irssi twitter client)

sweet.

added to http://crunchbanglinux.org/wiki/howto_pages

--
e.m.fields
chapel hill, nc

Re: Installing & using Twirssi (irssi twitter client)

Thanks for this guide!
Correct commands for settings are

/set twitter_usernames username
/set twitter_passwords password

Re: Installing & using Twirssi (irssi twitter client)

Hi,

I've followed the guide but I have encountered an error:

                                                                                
20:49 ***   <(^)                   TWIRSSI v2.2.4 (r659)
20:49 ***    (_(\           http://twirssi.com/ for full docs
20:49 ***     || ` Log in with /twitter_login, send updates with /tweet
20:49 *** Loading WWW::Shorten::TinyURL...
20:49 *** Failed to load Net::Twitter when trying to log in as xxxx: Can't 
          locate Net/Twitter.pm in @INC (@INC contains: 
          /home/xxxx/.irssi/scripts /usr/share/irssi/scripts 
          /usr/lib/perl/5.10 /etc/perl /usr/local/lib/perl/5.10.0 
          /usr/local/share/perl/5.10.0 /usr/lib/perl5 /usr/share/perl5 
          /usr/share/perl/5.10 /usr/local/lib/site_perl .) at (eval 261) line 2.
20:49 BEGIN failed--compilation aborted at (eval 261) line 2.
20:49 

Any ideas? Thanks.

Re: Installing & using Twirssi (irssi twitter client)

nice homes, just used it in conjunction with facebook to get all my communication in irssi

Re: Installing & using Twirssi (irssi twitter client)

First off, sorry to revive this old topic!

Did anyone of you using twirssi on crunchbang already update to the latest version?

Twirssi now supports OAuth, but I just cant seem to get OAuth to work in Crunchbang. There is no real error reported and there are no missing dependencies (or so it seems).

The error is always the same:
05:39:39 *** ERROR: Failed to get OAuth authorization_url. Try again later.

I already tried asking for help on the twirssi IRC, but no one was able to help me which is why I'm trying over here, since maybe it is distro related.

Thanks in advance.