public class Twitter4jUtil extends Object
Constructor and Description |
---|
Twitter4jUtil() |
Modifier and Type | Method and Description |
---|---|
static twitter4j.Twitter |
create() |
static long |
handleTwitterException(twitter4j.TwitterException e,
long errorWaitTime)
Handle a twitter exception, waiting the appropriate amount of time if the
API requests this behaviour
|
public Twitter4jUtil()
public static twitter4j.Twitter create()
Twitter
instance using the tokens from
DefaultTokenFactory
public static long handleTwitterException(twitter4j.TwitterException e, long errorWaitTime)
e
- errorWaitTime
-