@Remoteable(path="https://api.twitter.com/1.1/statuses")
public interface Statuses
| Modifier and Type | Interface and Description |
|---|---|
static interface |
Statuses.RetweetsRequestAnnotations |
static interface |
Statuses.StatusesShowRequestAnnotations |
| Modifier and Type | Method and Description |
|---|---|
List<Tweet> |
homeTimeline(StatusesHomeTimelineRequest parameters)
Returns a collection of the most recent Tweets posted by the user indicated by the screen_name or user_id parameters.
|
List<Tweet> |
lookup(StatusesLookupRequest parameters)
Returns fully-hydrated Tweet objects for up to 100 Tweets per request, as specified by comma-separated values passed to the id parameter.
|
List<Tweet> |
mentionsTimeline(StatusesMentionsTimelineRequest parameters)
Returns the 20 most recent mentions (Tweets containing a users’s @screen_name) for the authenticating user.
|
RetweeterIdsResponse |
retweeterIds(RetweeterIdsRequest parameters)
Returns a collection of up to 100 user IDs belonging to users who have retweeted the Tweet specified by the id parameter.
|
List<Tweet> |
retweets(RetweetsRequest parameters)
Returns a collection of the 100 most recent retweets of the Tweet specified by the id parameter.
|
Tweet |
show(StatusesShowRequest parameters)
Returns a single Tweet, specified by the id parameter.
|
List<Tweet> |
userTimeline(StatusesUserTimelineRequest parameters)
Returns a collection of the most recent Tweets posted by the user indicated by the screen_name or user_id parameters.
|
@RemoteMethod(httpMethod="GET",
path="/home_timeline.json")
List<Tweet> homeTimeline(@QueryIfNE(value="*")
StatusesHomeTimelineRequest parameters)
parameters - StatusesHomeTimelineRequestList[Tweet]@RemoteMethod(httpMethod="GET",
path="/lookup.json")
List<Tweet> lookup(@QueryIfNE(value="*")
StatusesLookupRequest parameters)
parameters - StatusesLookupRequestList[Tweet]@RemoteMethod(httpMethod="GET",
path="/mentions_timeline.json")
List<Tweet> mentionsTimeline(@QueryIfNE(value="*")
StatusesMentionsTimelineRequest parameters)
parameters - StatusesMentionsTimelineRequestList[Tweet]@RemoteMethod(httpMethod="GET",
path="/show/{id}")
Tweet show(@RequestBean
StatusesShowRequest parameters)
parameters - StatusesShowRequestTweet@RemoteMethod(httpMethod="GET",
path="/user_timeline.json")
List<Tweet> userTimeline(@QueryIfNE(value="*")
StatusesUserTimelineRequest parameters)
parameters - StatusesUserTimelineRequestList[Tweet]@RemoteMethod(httpMethod="GET",
path="/retweets/{id}")
List<Tweet> retweets(@RequestBean
RetweetsRequest parameters)
parameters - RetweetsRequestList[Tweet]@RemoteMethod(httpMethod="GET",
path="/retweeters/ids.json")
RetweeterIdsResponse retweeterIds(@QueryIfNE(value="*")
RetweeterIdsRequest parameters)
parameters - RetweeterIdsRequestRetweeterIdsResponseCopyright © 2018 The Apache Software Foundation. All rights reserved.