hacks/fetchtweets/fetchtweets

19 lines
413 B
Plaintext
Raw Normal View History

2013-03-11 22:22:36 +00:00
#!/usr/bin/env python
from pprint import pformat
# lol https://gist.github.com/re4k/3878505
APIKEY = '3rJOl1ODzm9yZy63FACdg'
APISECRET = '5jPoQ5kQvMJFDYRNE8bQ4rHuds4xJqhvgNJM4awaE8'
import twitter
api = twitter.Api()
# consumer_key = APIKEY,
# consumer_secret = APISECRET
#)
statuses = api.GetUserTimeline('sneakatdatavibe')
print pformat([s.__dict__ for s in statuses])
#print api.VerifyCredentials()