Package | Description |
---|---|
twitter4j |
general package for Twitter4J
|
twitter4j.api |
APIs represents Twitter API resources
|
twitter4j.json |
this package is deprecated.
|
Modifier and Type | Method and Description |
---|---|
static Status |
TwitterObjectFactory.createStatus(String rawJSON)
Constructs a Status object from rawJSON string.
|
Status |
Status.getQuotedStatus()
Returns the Tweet object of the original Tweet that was quoted.
|
Status |
Status.getRetweetedStatus() |
Status |
User.getStatus()
Returns the current status of the user
This can be null if the instance if from Status.getUser(). |
Modifier and Type | Method and Description |
---|---|
List<Status> |
QueryResult.getTweets() |
Modifier and Type | Method and Description |
---|---|
Status |
FavoritesResources.createFavorite(long id)
Favorites the status specified in the ID parameter as the authenticating user.
|
Status |
FavoritesResources.destroyFavorite(long id)
Un-favorites the status specified in the ID parameter as the authenticating user.
|
Status |
TweetsResources.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. |
Status |
TweetsResources.retweetStatus(long statusId)
Retweets a tweet.
|
Status |
TweetsResources.showStatus(long id)
Returns a single status, specified by the id parameter below.
|
Status |
TweetsResources.unRetweetStatus(long statusId)
Untweets a retweeted status.
|
Status |
TweetsResources.updateStatus(StatusUpdate latestStatus)
Updates the authenticating user's status.
|
Status |
TweetsResources.updateStatus(String status)
Updates the authenticating user's status.
|
Modifier and Type | Method and Description |
---|---|
ResponseList<Status> |
FavoritesResources.getFavorites()
Returns the 20 most recent favorite statuses for the authenticating user or user specified by the ID parameter in the requested format.
|
ResponseList<Status> |
FavoritesResources.getFavorites(long userId)
Returns the 20 most recent favorite statuses for the authenticating user or user specified by the ID parameter in the requested format.
|
ResponseList<Status> |
FavoritesResources.getFavorites(long userId,
Paging paging)
Returns the 20 most recent favorite statuses for the authenticating user or user specified by the ID parameter in the requested format.
|
ResponseList<Status> |
FavoritesResources.getFavorites(Paging paging)
Returns the 20 most recent favorite statuses for the authenticating user or user specified by the ID parameter in the requested format.
|
ResponseList<Status> |
FavoritesResources.getFavorites(String screenName)
Returns the 20 most recent favorite statuses for the authenticating user or user specified by the ID parameter in the requested format.
|
ResponseList<Status> |
FavoritesResources.getFavorites(String screenName,
Paging paging)
Returns the 20 most recent favorite statuses for the authenticating user or user specified by the ID parameter in the requested format.
|
ResponseList<Status> |
TimelinesResources.getHomeTimeline()
Returns the 20 most recent statuses, including retweets, posted by the authenticating user and that user's friends.
|
ResponseList<Status> |
TimelinesResources.getHomeTimeline(Paging paging)
Returns the 20 most recent statuses, including retweets, posted by the authenticating user and that user's friends.
|
ResponseList<Status> |
TimelinesResources.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> |
TimelinesResources.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> |
TweetsResources.getRetweets(long statusId)
Returns up to 100 of the first retweets of a given tweet.
|
ResponseList<Status> |
TimelinesResources.getRetweetsOfMe()
Returns the 20 most recent tweets of the authenticated user that have been retweeted by others.
|
ResponseList<Status> |
TimelinesResources.getRetweetsOfMe(Paging paging)
Returns the 20 most recent tweets of the authenticated user that have been retweeted by others.
|
ResponseList<Status> |
ListsResources.getUserListStatuses(long listId,
Paging paging)
Show tweet timeline for members of the specified list.
|
ResponseList<Status> |
ListsResources.getUserListStatuses(long ownerId,
String slug,
Paging paging)
Show tweet timeline for members of the specified list.
|
ResponseList<Status> |
ListsResources.getUserListStatuses(String ownerScreenName,
String slug,
Paging paging)
Show tweet timeline for members of the specified list.
|
ResponseList<Status> |
TimelinesResources.getUserTimeline()
Returns the 20 most recent statuses posted from the authenticating user.
|
ResponseList<Status> |
TimelinesResources.getUserTimeline(long userId)
Returns the 20 most recent statuses posted from the authenticating user.
|
ResponseList<Status> |
TimelinesResources.getUserTimeline(long userId,
Paging paging)
Returns the 20 most recent statuses posted from the authenticating user.
|
ResponseList<Status> |
TimelinesResources.getUserTimeline(Paging paging)
Returns the 20 most recent statuses posted from the authenticating user.
|
ResponseList<Status> |
TimelinesResources.getUserTimeline(String screenName)
Returns the 20 most recent statuses posted from the authenticating user.
|
ResponseList<Status> |
TimelinesResources.getUserTimeline(String screenName,
Paging paging)
Returns the 20 most recent statuses posted from the authenticating user.
|
ResponseList<Status> |
TweetsResources.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.
|
Modifier and Type | Method and Description |
---|---|
static Status |
DataObjectFactory.createStatus(String rawJSON)
Deprecated.
Constructs a Status object from rawJSON string.
|
Copyright © 2018. All rights reserved.