Package | Description |
---|---|
twitter4j |
Modifier and Type | Method and Description |
---|---|
AsyncTwitter |
AsyncTwitterFactory.getInstance()
Returns an instance associated with the configuration bound to this factory.
|
AsyncTwitter |
AsyncTwitterFactory.getInstance(AccessToken accessToken)
Returns a OAuth Authenticated instance.
consumer key and consumer Secret must be provided by twitter4j.properties, or system properties. Unlike OAuthSupport.setOAuthAccessToken(twitter4j.auth.AccessToken) , this factory method potentially returns a cached instance. |
AsyncTwitter |
AsyncTwitterFactory.getInstance(Authorization auth) |
AsyncTwitter |
AsyncTwitterFactory.getInstance(Twitter twitter)
a kind of copy factory method constructs an AsyncTwitter from Twitter instance
|
static AsyncTwitter |
AsyncTwitterFactory.getSingleton()
Returns default singleton AsyncTwitter instance.
|
Copyright © 2018. All rights reserved.