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