Example of getting the friends timeline
This commit is contained in:
parent
4af7c8771f
commit
b71dd218aa
1 changed files with 8 additions and 0 deletions
8
tango_examples/get_friends_timeline.py
Normal file
8
tango_examples/get_friends_timeline.py
Normal file
|
|
@ -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"]
|
||||
Loading…
Add table
Add a link
Reference in a new issue