public interface TweetsResourcesAsync
Modifier and Type | Method and Description |
---|---|
void |
destroyStatus(long statusId)
Destroys the status specified by the required ID parameter.
Usage note: The authenticating user must be the author of the specified status. |
void |
getOEmbed(OEmbedRequest req)
Returns information allowing the creation of an embedded representation of a Tweet on third party sites.
|
void |
getRetweets(long statusId)
Returns up to 100 of the first retweets of a given tweet.
|
void |
retweetStatus(long statusId)
Retweets a tweet.
|
void |
showStatus(long id)
Returns a single status, specified by the id parameter below.
|
void |
updateStatus(StatusUpdate status)
Updates the authenticating user's status.
|
void |
updateStatus(java.lang.String status)
Updates the authenticating user's status.
|
void getRetweets(long statusId)
statusId
- The numerical ID of the tweet you want the retweets of.void showStatus(long id)
id
- intvoid destroyStatus(long statusId)
statusId
- Stringvoid updateStatus(java.lang.String status)
status
- Stringvoid updateStatus(StatusUpdate status)
status
- the latest status to be updated.void retweetStatus(long statusId)
statusId
- The ID of the status to retweet.void getOEmbed(OEmbedRequest req)
req
- request