Package | Description |
---|---|
twitter4j |
general package for Twitter4J
|
Modifier and Type | Method and Description |
---|---|
Twitter |
TwitterFactory.getInstance()
Returns a instance associated with the configuration bound to this factory.
|
Twitter |
TwitterFactory.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. |
Twitter |
TwitterFactory.getInstance(Authorization auth) |
static Twitter |
TwitterFactory.getSingleton()
Returns default singleton Twitter instance.
|
Copyright © 2018. All rights reserved.