public interface TimelinesResources
Modifier and Type | Method and Description |
---|---|
ResponseList<Status> |
getHomeTimeline()
Returns the 20 most recent statuses, including retweets, posted by the authenticating user and that user's friends.
|
ResponseList<Status> |
getHomeTimeline(Paging paging)
Returns the 20 most recent statuses, including retweets, posted by the authenticating user and that user's friends.
|
ResponseList<Status> |
getMentionsTimeline()
Returns the 20 most recent mentions (tweets containing a users's @screen_name) for the authenticating user.
The timeline returned is the equivalent of the one seen when you view your mentions on twitter.com. This method can only return up to 800 tweets. See Working with Timelines for instructions on traversing timelines. |
ResponseList<Status> |
getMentionsTimeline(Paging paging)
Returns the 20 most recent mentions (tweets containing a users's @screen_name) for the authenticating user.
The timeline returned is the equivalent of the one seen when you view your mentions on twitter.com. This method can only return up to 800 tweets. See Working with Timelines for instructions on traversing timelines. |
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.
|
ResponseList<Status> |
getUserTimeline()
Returns the 20 most recent statuses posted from the authenticating user.
|
ResponseList<Status> |
getUserTimeline(long userId)
Returns the 20 most recent statuses posted from the authenticating user.
|
ResponseList<Status> |
getUserTimeline(long userId,
Paging paging)
Returns the 20 most recent statuses posted from the authenticating user.
|
ResponseList<Status> |
getUserTimeline(Paging paging)
Returns the 20 most recent statuses posted from the authenticating user.
|
ResponseList<Status> |
getUserTimeline(String screenName)
Returns the 20 most recent statuses posted from the authenticating user.
|
ResponseList<Status> |
getUserTimeline(String screenName,
Paging paging)
Returns the 20 most recent statuses posted from the authenticating user.
|
ResponseList<Status> getMentionsTimeline() throws TwitterException
TwitterException
- when Twitter service or network is unavailableResponseList<Status> getMentionsTimeline(Paging paging) throws TwitterException
paging
- controls pagination. Supports since_id, max_id, zcount parameters.TwitterException
- when Twitter service or network is unavailableResponseList<Status> getUserTimeline(String screenName, Paging paging) throws TwitterException
screenName
- specifies the screen name of the user for whom to return the user_timelinepaging
- controls pagination. Supports since_id, max_id, count and page parameters.TwitterException
- when Twitter service or network is unavailableResponseList<Status> getUserTimeline(long userId, Paging paging) throws TwitterException
userId
- specifies the ID of the user for whom to return the user_timelinepaging
- controls pagination. Supports since_id, max_id, count and page parameters.TwitterException
- when Twitter service or network is unavailableResponseList<Status> getUserTimeline(String screenName) throws TwitterException
screenName
- specifies the screen name of the user for whom to return the user_timelineTwitterException
- when Twitter service or network is unavailableResponseList<Status> getUserTimeline(long userId) throws TwitterException
userId
- specifies the ID of the user for whom to return the user_timelineTwitterException
- when Twitter service or network is unavailableResponseList<Status> getUserTimeline() throws TwitterException
TwitterException
- when Twitter service or network is unavailableResponseList<Status> getUserTimeline(Paging paging) throws TwitterException
paging
- controls pagination. Supports since_id, max_id, count and page parameters.TwitterException
- when Twitter service or network is unavailableResponseList<Status> getHomeTimeline() throws TwitterException
TwitterException
- when Twitter service or network is unavailableResponseList<Status> getHomeTimeline(Paging paging) throws TwitterException
paging
- controls pagination. Supports since_id, max_id, count and page parameters.TwitterException
- when Twitter service or network is unavailableResponseList<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 unavailableCopyright © 2018. All rights reserved.