|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface StatusMethods
Method Summary | |
---|---|
Status |
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. |
ResponseList<User> |
getRetweetedBy(long statusId)
Show user objects of up to 100 members who retweeted the status. |
ResponseList<User> |
getRetweetedBy(long statusId,
Paging paging)
Show user objects of up to 100 members who retweeted the status. |
IDs |
getRetweetedByIDs(long statusId)
Show user ids of up to 100 users who retweeted the status represented by id This method calls http://api.twitter.com/1/statuses/id/retweeted_by/ids.format |
IDs |
getRetweetedByIDs(long statusId,
Paging paging)
Show user ids of up to 100 users who retweeted the status. |
ResponseList<Status> |
getRetweets(long statusId)
Returns up to 100 of the first retweets of a given tweet. |
ResponseList<Status> |
getRetweetsOfMe()
Returns the 20 most recent tweets of the authenticated user that have been retweeted by others. |
ResponseList<Status> |
getRetweetsOfMe(Paging paging)
Returns the 20 most recent tweets of the authenticated user that have been retweeted by others. |
Status |
retweetStatus(long statusId)
Retweets a tweet. |
Status |
showStatus(long id)
Returns a single status, specified by the id parameter below. |
Status |
updateStatus(StatusUpdate latestStatus)
Updates the authenticating user's status. |
Status |
updateStatus(java.lang.String status)
Updates the authenticating user's status. |
Status |
updateStatus(java.lang.String status,
GeoLocation location)
Deprecated. use updateStatus(StatusUpdate) instead. |
Status |
updateStatus(java.lang.String status,
long inReplyToStatusId)
Deprecated. use updateStatus(StatusUpdate) instead. |
Status |
updateStatus(java.lang.String status,
long inReplyToStatusId,
GeoLocation location)
Deprecated. use updateStatus(StatusUpdate) instead. |
Method Detail |
---|
ResponseList<Status> getRetweetsOfMe() throws TwitterException
TwitterException
- when Twitter service or network is unavailableResponseList<Status> getRetweetsOfMe(Paging paging) throws TwitterException
paging
- controls pagination. Supports since_id, max_id, count and page parameters.
TwitterException
- when Twitter service or network is unavailableStatus showStatus(long id) throws TwitterException
id
- the numerical ID of the status you're trying to retrieve
TwitterException
- when Twitter service or network is unavailableStatus updateStatus(java.lang.String status) throws TwitterException
status
- the text of your status update
TwitterException
- when Twitter service or network is unavailableStatus updateStatus(java.lang.String status, GeoLocation location) throws TwitterException
updateStatus(StatusUpdate)
instead.
status
- the text of your status updatelocation
- The location that this tweet refers to.
TwitterException
- when Twitter service or network is unavailableStatus updateStatus(java.lang.String status, long inReplyToStatusId) throws TwitterException
updateStatus(StatusUpdate)
instead.
status
- the text of your status updateinReplyToStatusId
- The ID of an existing status that the status to be posted is in reply to. This implicitly sets the in_reply_to_user_id attribute of the resulting status to the user ID of the message being replied to. Invalid/missing status IDs will be ignored.
TwitterException
- when Twitter service or network is unavailableStatus updateStatus(java.lang.String status, long inReplyToStatusId, GeoLocation location) throws TwitterException
updateStatus(StatusUpdate)
instead.
status
- the text of your status updateinReplyToStatusId
- The ID of an existing status that the status to be posted is in reply to. This implicitly sets the in_reply_to_user_id attribute of the resulting status to the user ID of the message being replied to. Invalid/missing status IDs will be ignored.location
- The location that this tweet refers to.
TwitterException
- when Twitter service or network is unavailableStatus updateStatus(StatusUpdate latestStatus) throws TwitterException
latestStatus
- the latest status to be updated.
TwitterException
- when Twitter service or network is unavailableStatus destroyStatus(long statusId) throws TwitterException
statusId
- The ID of the status to destroy.
TwitterException
- when Twitter service or network is unavailableStatus retweetStatus(long statusId) throws TwitterException
statusId
- The ID of the status to retweet.
TwitterException
- when Twitter service or network is unavailableResponseList<Status> getRetweets(long statusId) throws TwitterException
statusId
- The numerical ID of the tweet you want the retweets of.
TwitterException
- when Twitter service or network is unavailableResponseList<User> getRetweetedBy(long statusId) throws TwitterException
statusId
- The ID of the status you want to get retweeters of
TwitterException
- when Twitter service or network is unavailableResponseList<User> getRetweetedBy(long statusId, Paging paging) throws TwitterException
statusId
- The ID of the status you want to get retweeters ofpaging
- specify your paging requirements
TwitterException
- when Twitter service or network is unavailableIDs getRetweetedByIDs(long statusId) throws TwitterException
statusId
- The ID of the status you want to get retweeters of
TwitterException
- when Twitter service or network is unavailableIDs getRetweetedByIDs(long statusId, Paging paging) throws TwitterException
statusId
- The ID of the status you want to get retweeters ofpaging
- specify your paging requirements
TwitterException
- when Twitter service or network is unavailable
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |