Examples of getting the public timeline

This commit is contained in:
Ryan McGrath 2009-06-14 19:09:04 -04:00
parent 480ba23011
commit 4af7c8771f

View file

@ -0,0 +1,8 @@
import tango
# Getting the public timeline requires no authentication, huzzah
twitter = tango.setup()
public_timeline = twitter.getPublicTimeline()
for tweet in public_timeline:
print tweet["text"]