ummm... this is what Im doing:
commonHttpOAuthConsumer = new CommonsHttpOAuthConsumer(CONSUMER_KEY,
CONSUMER_SECRET);
//DefaultOAuthProvider
authProvider = new CommonsHttpOAuthProvider("https://
api.twitter.com/oauth/request_token",
AccessToken actoken=new AccessToken(CONSUMER_KEY, CONSUMER_SECRET);
Twitter twitter=new TwitterFactory().getInstance();
twitter.setOAuthConsumer(ConstantsDemo.CONSUMER_KEY,ConstantsDemo.CONSUMER_SECRET);
twitter.setOAuthAccessToken(actoken);
try {
twitter.upda
This is what im doing to update a tweet.
Twitter twitter = new TwitterFactory().getInstance();
twitter.setOAuthConsumer(CONSUMER_KEY, CONSUMER_SECRET);
twitter.setOAuthAccessToken(accessToken);
twitter.updateStatus("Send from my ap
3 matches
Mail list logo