Package twitter4j

Interface Summary
AccountSettings  
AccountTotals  
AsyncTwitter  
Category  
ConnectionLifeCycleListener  
CursorSupport  
DirectMessage A data interface representing sent/received direct message.
EntitySupport  
Friendship  
HashtagEntity A data interface representing one single Hashtag entity.
IDs A data interface representing array of numeric IDs.
Location  
MediaEntity  
MediaEntity.Size  
PagableResponseList<T extends TwitterResponse> ResponseList with cursor support.
Place  
ProfileImage  
QueryResult A data interface representing search API response
RateLimitStatus A data interface representing Twitter REST API's rate limit status
RateLimitStatusListener  
RelatedResults  
Relationship A data interface that has detailed information about a relationship between two users
ResponseList<T> List of TwitterResponse.
SavedSearch A data interface representing a Saved Search
SimilarPlaces  
SiteStreamsListener  
Status A data interface representing one single status of a user.
StatusDeletionNotice A data class representing Status deletionNotice
Clients are urged to honor deletionNotice requests and discard deleted statuses immediately.
StatusListener  
StatusStream  
StreamImplementation  
StreamListener  
TimeZone  
Trend A data interface representing Trend.
Trends A data class representing Trends.
Tweet A data class representing a Tweet in the search response
Twitter  
TwitterAPIConfiguration  
TwitterBase  
TwitterListener A listner for receiving asynchronous responses from Twitter Async APIs.
TwitterResponse Super interface of Twitter Response data interfaces which indicates that rate limit status is avaialble.
TwitterStream  
URLEntity A data interface representing one single URL entity.
User A data interface representing Basic user information element
UserList A data interface representing Basic list information element
UserMentionEntity A data interface representing one single user mention entity.
UserStream  
UserStreamListener  
 

Class Summary
AbstractStreamImplementation  
Annotation Deprecated. Annotations is not available for now.
Annotations Deprecated. Annotations is not available for now.
AsyncTwitterFactory A factory class for AsyncTwitter.
An instance of this class is completely thread safe and can be re-used and used concurrently.
Note that currently AsyncTwitter is NOT compatible with Google App Engine as it is maintaining threads internally.
AsyncTwitterImpl Twitter API with a series of asynchronous APIs.
With this class, you can call TwitterAPI asynchronously.
Note that currently this class is NOT compatible with Google App Engine as it is maintaining threads internally.
Currently this class is not carefully designed to be extended.
ExceptionDiagnosis  
FilterQuery  
GeoLocation A data class representing geo location.
GeoQuery  
Paging Controls pagination.
It is possible to use the same Paging instance in a multi-threaded context only if the instance is treated immutably.
But basically instance of this class is NOT thread safe.
ProfileImage.ImageSize  
Query A data class represents search query.
An instance of this class is NOT thread safe.
Instances can be shared across threads, but should not be mutated while a search is ongoing.
RateLimitStatusEvent A data interface representing Twitter REST API's rate limit status
SiteStreamsAdapter  
SiteStreamsImpl  
StatusAdapter  
StatusDeletionNoticeImpl StatusDeletionNotice implementation.
StatusStreamImpl StatusStream implementation.
StatusUpdate  
StreamingReadTimeoutConfiguration  
TwitterAdapter A handy adapter of TwitterListener.
TwitterAPIMonitor Singleton instance of all Twitter API monitoring.
TwitterBaseImpl Base class of Twitter / AsyncTwitter / TwitterStream supports OAuth.
TwitterFactory A factory class for Twitter.
TwitterImpl A java representation of the Twitter REST API
This class is thread safe and can be cached/re-used and used concurrently.
Currently this class is not carefully designed to be extended.
TwitterMethod  
TwitterStreamFactory A factory class for TwitterFactory.
An instance of this class is completely thread safe and can be re-used and used concurrently.
Note that TwitterStream is NOT compatible with Google App Engine as GAE is not capable of handling requests longer than 30 seconds.
TwitterStreamImpl A java representation of the Streaming API: Methods
Note that this class is NOT compatible with Google App Engine as GAE is not capable of handling requests longer than 30 seconds.
UserStreamAdapter  
UserStreamImpl  
Version  
VersionAsync  
VersionStream  
 

Exception Summary
TwitterException An exception class that will be thrown when TwitterAPI calls are failed.
In case the Twitter server returned HTTP error code, you can get the HTTP status code using getStatusCode() method.