Created
November 5, 2014 11:58
-
-
Save MulticolorWorld/26836ec6b8f31bc78e8d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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