Skip to content

Instantly share code, notes, and snippets.

@MulticolorWorld
Created November 5, 2014 11:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MulticolorWorld/26836ec6b8f31bc78e8d to your computer and use it in GitHub Desktop.
Save MulticolorWorld/26836ec6b8f31bc78e8d to your computer and use it in GitHub Desktop.
package com.example;
//import
//
//
public class TwitterService {
Twitter twitter;
public void createInstance(){
twitter = TwitterFactory().getInstance();
twitter.setOAuthConsumer("key","secret");
//confugration
//
//
//
}
public String getScreenName(){
return twitter.getScreenName();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment