Java twitter4j AsyncTwitter fields, constructors, methods, implement or subclass

Example usage for Java twitter4j AsyncTwitter fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for twitter4j AsyncTwitter.

The text is from its open source code.

Implementation

twitter4j.AsyncTwitter has the following implementations.
Click this link to see all its implementation.

Method

voidaddListener(TwitterListener listener)
Adds twitter listener
voidcreateFavorite(long id)
Favorites the status specified in the ID parameter as the authenticating user.
voidcreateFriendship(long userId, boolean follow)
Allows the authenticating users to follow the user specified in the ID parameter.
Returns the befriended user in the requested format when successful.
voiddestroyFavorite(long id)
Favorites the status specified in the ID parameter as the authenticating user.
voiddestroyFriendship(long userId)
Allows the authenticating users to unfollow the user specified in the ID parameter.
Returns the unfollowed user in the requested format when successful.
voiddestroyStatus(long statusId)
Destroys the status specified by the required ID parameter.
Usage note: The authenticating user must be the author of the specified status.
voidgetFavorites(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.
voidgetFollowersList(long userId, long cursor)
Returns a cursored collection of user objects for users following the specified user.
At this time, results are ordered with the most recent following first — however, this ordering is subject to unannounced change and eventual consistency issues.
voidgetFriendsList(long userId, long cursor)
Returns a cursored collection of user objects for every user the specified user is following (otherwise known as their "friends").
At this time, results are ordered with the most recent following first — however, this ordering is subject to unannounced change and eventual consistency issues.
voidgetHomeTimeline(Paging paging)
Returns the 20 most recent statuses, including retweets, posted by the authenticating user and that user's friends.
voidgetOAuthAccessTokenAsync(RequestToken requestToken, String oauthVerifier)
Retrieves an access token associated with the supplied request token and sets userId.
voidgetOAuthRequestTokenAsync(String callbackURL)
Retrieves a request token
voidgetUserTimeline(String screenName, Paging paging)
Returns the 20 most recent statuses posted from the authenticating user.
voidretweetStatus(long statusId)
Retweets a tweet.
voidsearch(Query query)
Returns tweets that match a specified query.
voidsendDirectMessage(long userId, String text)
Sends a new direct message to the specified user from the authenticating user.
voidsetOAuthAccessToken(AccessToken accessToken)
Sets the access token
voidsetOAuthConsumer(String consumerKey, String consumerSecret)
sets the OAuth consumer key and consumer secret
voidshowUser(long userId)
Returns extended information of a given user, specified by ID or screen name as per the required id parameter.
voidupdateStatus(String status)
Updates the authenticating user's status.
voidverifyCredentials()
Returns an HTTP 200 OK response code and a representation of the requesting user if authentication was successful; returns a 401 status code and an error message if not.