Fixes #119
parent
6d9bde7bdb
commit
08c5eb3ef7
1 changed files with 0 additions and 17 deletions
|
|
@ -1,22 +1,5 @@
|
||||||
Listed below are the various ways to access Twitter's different timeline permutations. Some require Authentication at certain points, so pay attention.
|
Listed below are the various ways to access Twitter's different timeline permutations. Some require Authentication at certain points, so pay attention.
|
||||||
|
|
||||||
h2. getPublicTimeline()
|
|
||||||
|
|
||||||
Returns the public timeline. This is easily one of the simplest methods for getting data in all of Twython.
|
|
||||||
|
|
||||||
<pre>
|
|
||||||
<code>
|
|
||||||
from twython import Twython
|
|
||||||
|
|
||||||
# Getting the public timeline requires no authentication, huzzah
|
|
||||||
twitter = Twython()
|
|
||||||
public_timeline = twitter.getPublicTimeline()
|
|
||||||
|
|
||||||
for tweet in public_timeline:
|
|
||||||
print tweet["text"]
|
|
||||||
</code>
|
|
||||||
</pre>
|
|
||||||
|
|
||||||
h2. getFriendsTimeline()
|
h2. getFriendsTimeline()
|
||||||
|
|
||||||
Returns a timeline for all the users the authenticating user is following. This (obviously) requires authentication.
|
Returns a timeline for all the users the authenticating user is following. This (obviously) requires authentication.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue