Merge cf5b382d55 into d93651c486
This commit is contained in:
commit
0a2ab76176
4 changed files with 10 additions and 9 deletions
|
|
@ -5,4 +5,4 @@ twitter = Twython()
|
||||||
public_timeline = twitter.getPublicTimeline()
|
public_timeline = twitter.getPublicTimeline()
|
||||||
|
|
||||||
for tweet in public_timeline:
|
for tweet in public_timeline:
|
||||||
print tweet["text"]
|
print tweet["text"]
|
||||||
|
|
|
||||||
|
|
@ -5,4 +5,4 @@ twitter = Twython()
|
||||||
search_results = twitter.searchTwitter(q="WebsDotCom", rpp="50")
|
search_results = twitter.searchTwitter(q="WebsDotCom", rpp="50")
|
||||||
|
|
||||||
for tweet in search_results["results"]:
|
for tweet in search_results["results"]:
|
||||||
print tweet["text"]
|
print tweet["text"]
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,9 @@
|
||||||
from twython import Twython
|
from twython import Twython
|
||||||
|
|
||||||
"""
|
"""
|
||||||
You'll need to go through the OAuth ritual to be able to successfully
|
You'll need to go through the OAuth ritual to be able to successfully
|
||||||
use this function. See the example oauth django application included in
|
use this function. See the example oauth django application included in
|
||||||
this package for more information.
|
this package for more information.
|
||||||
"""
|
"""
|
||||||
twitter = Twython()
|
twitter = Twython()
|
||||||
twitter.updateProfileImage("myImage.png")
|
twitter.updateProfileImage("myImage.png")
|
||||||
|
|
|
||||||
|
|
@ -1,13 +1,14 @@
|
||||||
from twython import Twython
|
from twython import Twython
|
||||||
|
|
||||||
"""
|
"""
|
||||||
Note: for any method that'll require you to be authenticated (updating things, etc)
|
Note: for any method that'll require you to be authenticated (updating
|
||||||
you'll need to go through the OAuth authentication ritual. See the example
|
things, etc)
|
||||||
Django application that's included with this package for more information.
|
you'll need to go through the OAuth authentication ritual. See the example
|
||||||
|
Django application that's included with this package for more information.
|
||||||
"""
|
"""
|
||||||
twitter = Twython()
|
twitter = Twython()
|
||||||
|
|
||||||
# OAuth ritual...
|
# OAuth ritual...
|
||||||
|
|
||||||
|
|
||||||
twitter.updateStatus(status = "See how easy this was?")
|
twitter.updateStatus(status="See how easy this was?")
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue