List of usage examples for twitter4j.conf PropertyConfiguration USER
String USER
To view the source code for twitter4j.conf PropertyConfiguration USER.
Click Source Link
From source file:org.rhq.plugins.twitter.TwitterComponent.java
License:Open Source License
private Twitter createTwitterInstance() { Properties props = new Properties(); props.setProperty(PropertyConfiguration.USER, username); props.setProperty(PropertyConfiguration.PASSWORD, password); PropertyConfiguration propConfig = new PropertyConfiguration(props); return tFactory.getInstance(AuthorizationFactory.getInstance(propConfig)); }