Migrated from status-methods v9
parent
f2167349d8
commit
afba480a9d
1 changed files with 3 additions and 3 deletions
|
|
@ -16,7 +16,7 @@ Parameters
|
||||||
import twython
|
import twython
|
||||||
|
|
||||||
# Instantiate with Basic (HTTP) Authentication
|
# Instantiate with Basic (HTTP) Authentication
|
||||||
twitter = twython.setup(authtype="Basic", username="example", password="example")
|
twitter = twython.core.setup(username="example", password="example")
|
||||||
twitter.updateStatus("See how easy this was?")
|
twitter.updateStatus("See how easy this was?")
|
||||||
</code>
|
</code>
|
||||||
</pre>
|
</pre>
|
||||||
|
|
@ -35,7 +35,7 @@ Parameters
|
||||||
import twython
|
import twython
|
||||||
|
|
||||||
# Instantiate with Basic (HTTP) Authentication
|
# Instantiate with Basic (HTTP) Authentication
|
||||||
twitter = twython.setup(authtype="Basic", username="example", password="example")
|
twitter = twython.core.setup(username="example", password="example")
|
||||||
twitter.destroyStatus("12344545")
|
twitter.destroyStatus("12344545")
|
||||||
</code>
|
</code>
|
||||||
</pre>
|
</pre>
|
||||||
|
|
@ -53,7 +53,7 @@ Parameters
|
||||||
import twython
|
import twython
|
||||||
|
|
||||||
# Instantiate with no Auth - Auth might be needed if user is protected
|
# Instantiate with no Auth - Auth might be needed if user is protected
|
||||||
twitter = twython.setup()
|
twitter = twython.core.setup()
|
||||||
status = twitter.showStatus("123")
|
status = twitter.showStatus("123")
|
||||||
|
|
||||||
print status["text"]
|
print status["text"]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue