Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import sys
- import string
- from twython import Twython
- twitter = Twython('Insert Consumer Key Here',
- 'Insert Consumer Secret Key',oauth_version=2)
- Access_token = twitter.obtain_access_token()
- t = Twython('Insert Consumer Key', access_token=Access_token)
- user_timeline = t.search(q='@puremichigan', count=20, include_rts=1)
- for tweets in user_timeline['statuses']:
- print tweets['text'] +"\n"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement