Updated Status Methods (textile)

harcek 2011-10-07 15:02:49 -07:00
parent d43c876909
commit 9263cf8ea8

@ -1,14 +1,13 @@
h2. Status methods h2. Status methods
The methods below deal with showing, updating, and deleting status messages on Twitter. The methods below deal with showing, updating, and deleting status messages on Twitter.
<b> Opening remark: </b> all examples have been tested on Twython 1.4.3 <b> Opening remark: </b> All examples have been tested on Twython 1.4.3.
h3. updateStatus() h3. updateStatus()
Updates your status on Twitter - <b>requires authentication</b> Updates your status on Twitter - <b>requires authentication</b>.
Parameters
Parameters:
* <b>status:</b> (Required) The status message you're updating with. * <b>status:</b> (Required) The status message you're updating with.
* <b>in_reply_to_status_id:</b> (Optional) An optional status ID that this message is in reply to. * <b>in_reply_to_status_id:</b> (Optional) An optional status ID that this message is in reply to.
@ -26,13 +25,11 @@ twitter.updateStatus(status="See how easy this was?")
</code> </code>
</pre> </pre>
h3. destroyStatus() h3. destroyStatus()
Destroys a status message for the authenticating account. Self explanatory. <b>Requires authentication</b> Destroys a status message for the authenticating account. Self explanatory. <b>Requires authentication</b>.
Parameters
Parameters:
* <b>id:</b> The numerical id of the status message you're deleting. * <b>id:</b> The numerical id of the status message you're deleting.
<pre> <pre>
@ -53,8 +50,7 @@ h3. showStatus()
Returns an object containing the status represented by the numerical ID passed in. Returns an object containing the status represented by the numerical ID passed in.
Parameters Parameters:
* <b>id:</b> (Required) The numerical ID of the status to retrieve. * <b>id:</b> (Required) The numerical ID of the status to retrieve.
<pre> <pre>