public class TwitterProvider extends Object
Modifier and Type | Field and Description |
---|---|
protected String |
accessToken |
protected String |
accessTokenSecret |
protected String |
consumerKey |
protected String |
consumerSecret |
Constructor and Description |
---|
TwitterProvider(String consumerKey,
String consumerSecret) |
TwitterProvider(String consumerKey,
String consumerSecret,
String accessToken,
String accessTokenSecret) |
Modifier and Type | Method and Description |
---|---|
DataException |
addExceptionProperties(DataException exception) |
ConfigurationBuilder |
getConfig() |
String |
getHttpProxyHost() |
Integer |
getHttpProxyPort() |
TwitterRateLimit |
getRateLimit(String rateLimitResource,
String rateLimitKey) |
protected Twitter |
getTwitter() |
void |
mute(String userScreenName) |
TwitterProvider |
setHttpProxyHost(String httpProxyHost) |
TwitterProvider |
setHttpProxyPort(Integer httpProxyPort) |
protected final String consumerKey
protected final String consumerSecret
protected final String accessToken
protected final String accessTokenSecret
public ConfigurationBuilder getConfig()
public String getHttpProxyHost()
public TwitterProvider setHttpProxyHost(String httpProxyHost)
public Integer getHttpProxyPort()
public TwitterProvider setHttpProxyPort(Integer httpProxyPort)
protected Twitter getTwitter()
public void mute(String userScreenName)
public TwitterRateLimit getRateLimit(String rateLimitResource, String rateLimitKey)
public DataException addExceptionProperties(DataException exception)
Copyright (c) 2006-2024 North Concepts Inc. All Rights Reserved.