pin is not needed though… if you are using the demo yusuke put up on github u just have to change it up a bit to avoid the pin…
i set up the credentials via configuration
// set credentials for twitter account
ConfigurationBuilder cb = new ConfigurationBuilder();
cb.setDebugEnabled(true) .setOAuthConsumerKey(twitterAccountInfo.getConsumerKey())
.setOAuthConsumerSecret(twitterAccountInfo.getConsumerSecret())
.setOAuthAccessToken(twitterAccountInfo.getAccessToken())
.setOAuthAccessTokenSecret(twitterAccountInfo.getAccessSecret());
TwitterFactory factory = new TwitterFactory(cb.build());
Twitter twitter = factory.getInstance();
im able to tweet through my java file without using a pin