Skip to main content

Tweet From Your Terminal

Hey there!!

Today I will be presenting a tool that allows you to access your Twitter account from your terminal, yep, type some commands and we can do almost everything that is possible in the browser with Twitter, sending DMs and tweets, checking profiles, followers, follow and unfollow people, etc

The tool I will be using is called "t". No it's not an abbreviation! :D

The tool is available on github, and it's created by sferik.



Step 1: Installing Twitter CLI:

In my case I will be installing it on a Debian Based Distro "Kali Linux"
So I'll be entering those commands:
$ sudo apt-get install ruby-dev
$ sudo gem install t


Step 2: Authorizing:

After installing the tool on my system, I will be entering this command so I can register an application with twitter
$ t authorize


Step 3: Creating an Application on Twitter:

After pressing enter, the Twitter Developer sign in page will appear, I will sign in with my twitter account. Then click create application, enter a name, description and a website.



Next, I navigated to the permissions tab, and clicked the radio button that gives me the permission to Read, write and access direct messages.



Finally, I navigate to the Keys and Access Tokens tab, copy my API Key and paste it in the terminal. The terminal will then ask for my API Secret so I'll copy it and paste it in the terminal. Click Enter and a Twitter page will open in my web browser asking me to authorize the app I just created to use my account.



When I click authorize app, a pin will appear, I'll copy it and paste it in the terminal. After pressing enter, everything is done! The tool is installed and now I can unleash the power and do all Twitter stuff from my beautiful terminal!


Step 4: Let's use it!

Type "t" and you'll get a list of all the commands you can use
$ t 


I'll try sending a tweet:
$ t update "Hello from the #terminal !"

Finally,,, 

Tweeting from the command line is pretty much awesome because it's so powerful as it can save time and can give stats and info in a very simplified way. Having the ability to use all functions of a website like Twitter through a command-line is unbelievable!

Enjoy!

Comments

Popular posts from this blog

LiFi Technology ... New Technology

LiFi Technology I decided to open this New Category, Technology Articles... I also insisted on making the first topic in the Technology News Section, An Interesting one! So, let's go ahead! I'm going to present you one of the Most Modern Technologies in the Human Era. It is the LiFi Technology... You might thought of WiFi when you read that name above.. Well, your thought was right, because it is something like WiFi and even 100 Times Better. LiFi is a little Lamp, that can make you access the Internet wherever you want, just simply light the Lamp, and you get an Internet Connection from this lamp, with a speed of 10Gbits/s, while WiFi's best is 100Mbits/s.... For More Details about LiFi, Read the Article Below!

How to Enable GodMode in Windows 7 and Vista

Hello! GodMode is a folder that brings together a long list of customization settings allowing you to change all your settings from one place. Neat huh? If you want to access your Operating System's control under one roof in Windows 7, then this post is just for you!!  

How to convert any Webpage to a PDF File

In this post I will teach a simple trick or browser feature that would let you convert any web page into PSD file format, which might help you to read your favorite articles offline.