a guest Mar 25th, 2014 134 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import twitter4j.conf.ConfigurationBuilder;
  2. private ConfigurationBuilder OAuthBuilder() {
  3. ConfigurationBuilder cb = new ConfigurationBuilder();
  4. cb.setOAuthConsumerKey("YOUR API KEY");
  5. cb.setOAuthConsumerSecret("YOUR API SECRET");
  6. cb.setOAuthAccessToken("YOUR ACCESS TOKEN");
  7. cb.setOAuthAccessTokenSecret("YOUR ACCESS TOKEN
  8. SECRET");
  9. return cb;
  10. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand