Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: Installing & using Twirssi (irssi twitter client)

  1. #1
    Join Date
    Feb 2008
    Location
    Arkansas, USA
    Beans
    204

    HOWTO: Installing & using Twirssi (irssi twitter client)

    First off, I installed this on CrunchBang but it should work just the same on Ubuntu (as they're both Ubuntu). Also, this was my first time using CPan, so if there's any questions regarding that I'll try my best to answer but hopefully someone more knowledgeable about that could help.

    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:
    Code:
    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
    Code:
    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)
    Code:
    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:
    Code:
    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:
    Code:
    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!


    Hope this helps somebody.
    Last edited by dannytatom; January 12th, 2009 at 01:29 AM.
    dnyy in IRC
    #! & ArchLinux
    Last.FM & Twitter

  2. #2
    Join Date
    Apr 2006
    Location
    Seattle
    Beans
    2,893
    Distro
    Ubuntu Development Release

    Re: Installing & using Twirssi (irssi twitter client)

    Aaaw, only Twitter? Where's the Identi.ca/laconica love?

  3. #3
    Join Date
    Feb 2008
    Location
    Arkansas, USA
    Beans
    204

    Re: Installing & using Twirssi (irssi twitter client)

    I was wishing the same. ;<
    dnyy in IRC
    #! & ArchLinux
    Last.FM & Twitter

  4. #4
    Join Date
    Oct 2005
    Location
    UK
    Beans
    3
    Distro
    Ubuntu Breezy 5.10

    Arrow Re: Installing & using Twirssi (irssi twitter client)

    If you use a recent enough version, using identi.ca and twitter isn't a problem.

    Once the script is loaded etc, you just do, e.g.

    /twitter_login thegingerdog blahblah <- login to twitter
    /twitter_login gingerdog@identica blahblah <- login to identi.ca

    See also http://github.com/zigdon/twirssi/com...139aa2389cdc78 which may (or may not) explain it some more.

    David.

  5. #5
    Join Date
    Jun 2005
    Location
    Albuquerque, New Mexico
    Beans
    272
    Distro
    Ubuntu Development Release

    Re: Installing & using Twirssi (irssi twitter client)

    Psst! Twirssi now supports identi.ca. =)

    -GC
    "Nice jail. Looks strong."
    - H. Houdini

  6. #6
    Join Date
    Jun 2007
    Location
    /home/London
    Beans
    297

    Re: Installing & using Twirssi (irssi twitter client)

    Thanks this helped a lot.

    The last two commands at the end are variables and should read

    /set twitter_usernames username
    /set twitter_passwords password



    (During the first setup be ready to answer yes to more default questions than compiling the kernel!)
    "I refuse to answer that question on the grounds that I don't know the answer" - Douglas Adams
    "The world is your lobster" - Arthur Daley


    http://twitter.com/junkbit

  7. #7
    Join Date
    Sep 2008
    Location
    Bangalore,India
    Beans
    982
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Installing & using Twirssi (irssi twitter client)

    i tried installing Twirssi, it gave these errors, when i try to add Net::Twitter, irssi gives error.....

    Code:
    13:32 ***   <(^)                   TWIRSSI v2.2.4 (r659)
    13:32 ***    (_(\           http://twirssi.com/ for full docs
    13:32 ***     || ` Log in with /twitter_login, send updates with /tweet
    13:32 *** Loading WWW::Shorten::TinyURL...
    13:32 *** Failed to load Net::Twitter when trying to log in as abhilashm86: Can't locate Net/Twitter.pm in @INC (@INC 
              contains: /home/abhilash/.irssi/scripts /usr/share/irssi/scripts /usr/lib/perl/5.8 /etc/perl 
              /usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8 /usr/lib/perl5 /usr/share/perl5 /usr/share/perl/5.8 
              /usr/local/lib/site_perl .) at (eval 285) line 2.
    13:32 BEGIN failed--compilation aborted at (eval 285) line 2.
    13:32 
    13:32 *** Not logged in!  Use /twitter_login username pass!
    how to correct this?
    Abhilash Muthuraj-views
    I always believe that Linux,
    "In a world of no walls or fences, we don't need WINDOWS or GATES"
    New to Ubuntu??

  8. #8
    Join Date
    Sep 2008
    Location
    Bangalore,India
    Beans
    982
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Installing & using Twirssi (irssi twitter client)

    bump!! help
    Abhilash Muthuraj-views
    I always believe that Linux,
    "In a world of no walls or fences, we don't need WINDOWS or GATES"
    New to Ubuntu??

  9. #9
    Join Date
    Mar 2005
    Beans
    10

    Re: Installing & using Twirssi (irssi twitter client)

    As this is one of the top links for twitter and irssi, I thought I would point out that you don't need to use CPAN - the required packages are in the ubuntu repositories - libnet-twitter-perl and libwww-shorten-perl. Install them via your favourite method and then just download twirrsi.pl and you're away. eg using the command line:

    Code:
    $ sudo aptitude install libnet-twitter-perl libwww-shorten-perl
    I had the same problem as abhilashm86 but then I deleted all of ~/.cpan and installed the above and all was sweetness and light

  10. #10
    Join Date
    Oct 2006
    Location
    Boulder, CO
    Beans
    21
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: Installing & using Twirssi (irssi twitter client)

    Quote Originally Posted by mish View Post
    As this is one of the top links for twitter and irssi, I thought I would point out that you don't need to use CPAN - the required packages are in the ubuntu repositories - libnet-twitter-perl and libwww-shorten-perl. Install them via your favourite method and then just download twirrsi.pl and you're away. eg using the command line:

    Code:
    $ sudo aptitude install libnet-twitter-perl libwww-shorten-perl
    I had the same problem as abhilashm86 but then I deleted all of ~/.cpan and installed the above and all was sweetness and light
    Is this package in Jaunty (9.04)?

    I get:
    Code:
    Couldn't find any package whose name or description matched "libnet-twitter-perl"
    TIA.

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •