Monday, January 2, 2017

Live twitter feed.

Hello friends , today we will be working with Twitter API .

I will be showing you that how you can use twitter API to get the live feeds to any thing from twitter.

In order to access the twitter api we need its module which is already available either you can pip install this using below command

pip install tweepy

Or you can download from python library.

But in order to use the Api to need to have four keys which you can get by registering your self to the twitter developer page.

consumer_key
consumer_secret
access_token
access_token_secret


On the above code i am continuously monitoring the TimesNow. If you are interested to follow something else please change the same.

Sample feed which i have generated.



No comments:

Post a Comment