Twitter in my terminal with ttytter

Twitter is very nice, but the fact of always having a web browser and an open page to consult can be annoying. Today we will see how to use Twitter very simply, on the command line in Linux! For this, we will use ttytter, a small simple tool to use and configuration.




Ttytter: Installation and connection

We will of course start by installing ttytter with the following command:


apt-get install ttytter curl

We will also install curl because it is necessary, particularly during the authentication phase. Now that ttytter is present on our system, we can use it via the command:

ttytter

Then we will see this output:



I initially encountered some problems on SSL with the following error message:

Request from http://api.twitter.com/oauth/request_token ...... FAILED !: "SSL is required

To work around this slight worries, just add the "-ssl" to the invocation of the command:

ttytter -ssl

When using ttytter for the first time, simply enter "ENTREE" then a small step is necessary to allow the application of Twitter ttytter to access your account,
which will allow it to read the tweets in particular for display in the terminal or send tweets you write in your terminal to Twitter.
Next to Step 1. A link on which it will go with a browser to authenticate you on Twitter:


By going on the indicated link, and after you have authenticated on Twitter in a browser by it, you will display a PIN, you must enter it in the terminal.


Once authentication done, we can start using ttytter:

ttytter-ssl

Ttytter: Use Twitter on the command line

Using ttytter is quite simple, once authenticated, we begin to see the tweets automatically scroll in our terminal:



All that will be entered after the ">" and after entering "ENTREE" will be tweeted!

You will also notice that each tweet or DM is preceded by an identifier like "c9" or f5 "for example, it helps actually interact with. If a tweet is for example an identifier "e5" and I wish the retweet, I could enter the following command:

/rt e5

If I want to answer him:

/ reply e5 I answer you!

If the tweet "e5" is a discussion we can list any discussion with the "thread":

/thread e5

If we did something wrong, it is always possible to delete a tweet:

/delete 2e

You can also follow with "/ follow" do not to follow with "/ leave" while both follow the Twitter account of the person, for example:

/follow @NAmine2009

In short, a complete and very nice tool to use, if you want more features, as they are not all been described here, use the command "/ help".

Do ont forget to share our posts if you like it  :)





Previous
Next Post »