SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#1 2009-01-10 23:27:51

dannytatom
#! CrunchBanger
From: Ashdown, AR
Registered: 2009-01-10
Posts: 190

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!
1718226_bigthumb.png

Hope this helps somebody. smile

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


.files
dnyy in IRC & Urban Terror

Offline

Help fund CrunchBang, donate to the project!

#2 2009-01-10 23:30:17

Foomandoonian
#! CrunchBanger
From: Cardiff, UK
Registered: 2008-12-07
Posts: 226
Website

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

Offline

#3 2009-01-10 23:42:10

DUDE
#! Member
From: Krypton?
Registered: 2008-12-16
Posts: 56

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

Offline

#4 2009-01-10 23:51:54

rizzo
#! wanderer
From: ~/
Registered: 2008-11-25
Posts: 5,100

Re: Installing & using Twirssi (irssi twitter client)

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

Offline

#5 2009-01-11 00:06:04

DUDE
#! Member
From: Krypton?
Registered: 2008-12-16
Posts: 56

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

Offline

#6 2009-01-11 03:42:51

kBang
#! Die Hard
From: Calera, AL, USA
Registered: 2009-01-06
Posts: 774

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.

Offline

#7 2009-01-11 07:43:27

Hanna
Conky Queen
From: Finland
Registered: 2008-11-29
Posts: 758

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

Offline

#8 2009-01-11 08:05:08

dannytatom
#! CrunchBanger
From: Ashdown, AR
Registered: 2009-01-10
Posts: 190

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

Offline

#9 2009-01-19 21:31:57

Mehall
#! Die Hard
From: Scotland, Cold
Registered: 2009-01-17
Posts: 850
Website

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.)

Offline

#10 2009-03-24 08:20:02

e.m.fields
Howto Master
From: chapel hill, nc
Registered: 2009-03-15
Posts: 31
Website

Re: Installing & using Twirssi (irssi twitter client)


--
e.m.fields
chapel hill, nc

Offline

#11 2009-05-02 22:53:39

mishak
New Member
Registered: 2009-05-02
Posts: 1

Re: Installing & using Twirssi (irssi twitter client)

Thanks for this guide!
Correct commands for settings are

/set twitter_usernames username
/set twitter_passwords password

Offline

#12 2009-08-19 10:02:46

MrRedNapoleon
Member
Registered: 2009-08-09
Posts: 21

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.

Offline

#13 2009-10-20 06:01:19

p0rksh3d
#! CrunchBanger
From: Brownsville, Texas
Registered: 2009-09-28
Posts: 107

Re: Installing & using Twirssi (irssi twitter client)

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

Offline

#14 2010-03-10 04:41:49

sixty
New Member
Registered: 2010-03-10
Posts: 1

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.

Offline

#15 2012-12-19 08:29:28

pseudomonkey
New Member
Registered: 2012-12-19
Posts: 1

Re: Installing & using Twirssi (irssi twitter client)

sixty wrote:

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.

Nothing like a bit of thread necromancy for a first post.

This is still pretty big on the Google search results for setting up Twirssi and figured I'd put the solution to this problem in here. You need to install Mozilla::CA in CPAN as well as JSON::Any, Net::Twitter and WWW::Shorten::TinyURL.

Hopefully this helps someone else out.

Last edited by pseudomonkey (2012-12-19 08:32:21)

Offline

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.

Debian Logo