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 |
lookup(long... ids)
Returns fully-hydrated tweet objects for up to 100 tweets per request, as specified by comma-separated values passed to the id parameter.
|
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(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(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
- requestvoid lookup(long... ids)
ids
- array of the ids to lookupCopyright © 2018. All rights reserved.