diff --git a/tango_examples/get_friends_timeline.py b/tango_examples/get_friends_timeline.py new file mode 100644 index 0000000..e3c3ddd --- /dev/null +++ b/tango_examples/get_friends_timeline.py @@ -0,0 +1,8 @@ +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"]