[android-developers] Re: Twitter integration - AccessToken issue

2011-06-24 Thread Albert
ummm... this is what Im doing: commonHttpOAuthConsumer = new CommonsHttpOAuthConsumer(CONSUMER_KEY, CONSUMER_SECRET); //DefaultOAuthProvider authProvider = new CommonsHttpOAuthProvider("https:// api.twitter.com/oauth/request_token",

Re: [android-developers] Re: Twitter integration - AccessToken issue

2011-06-24 Thread ram dharan
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

[android-developers] Re: Twitter integration - AccessToken issue

2011-06-24 Thread Albert
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