Monday 2 April 2012

Twitter Spy

Tired of reading billions of tweets to select only those you want to read? Take a few steps to get all tweets with the given keywords in a text file: 1. Install tweepy library that implements Twitter Streaming API in Python. 2. Get the following code: 3. Register your app on dev.twitter.com (You will neet to put your twitter login and password there) 4. Get four oAuth keys from there (consumer key and secret, access token and access secret) and put it in the code above 5. Create an empty tweets.txt file 6. Write down your keywords in the last line 7. run python yourapp.py 8 ??? 9. PROFIT !!!

No comments:

Post a Comment