twython/tango_examples/get_friends_timeline.py
2009-06-14 19:31:24 -04:00

8 lines
273 B
Python

import tango, pprint
# Authenticate using Basic (HTTP) Authentication
twitter = tango.setup(authtype="Basic", username="example", password="example")
friends_timeline = twitter.getFriendsTimeline(count="150", page="3")
for tweet in friends_timeline:
print tweet["text"]