true-binary.com

code is poetry…

live tweets in command line using python —

Who hasn’t always opened a linux terminal? Well, for the ones who do, here’s a little python script which brings you live tweets directly to your bash, using your keywords

How it looks?

screenshot

 

 

 

 

How it works?

Create your twitter application here:

https://dev.twitter.com/apps/new

fill the following four strings in the python script with your Keys/Tokens in the #Auth section:

consumer_key
consumer_secret
access_token
access_token_secret

Where’s the code?

Here you go:

[download]

How to run it?

As it’s using the tweepy module, you need to install it:

sudo pip install tweepy

and finally execute it:

python livetweet.py

 

have fun!


Categorised as: codes | coding | computing | python



Leave a Reply