Hi, I am using OAuth Authentication for android. Which method I have to use to authenticate twitter. I used the fallowing method. But not able to authenticate plz help me.
Token = new Token(“token_access”, “token_secret”);
Credential c = new Credential(“user_name”, “consumer_key”, “consumer_secret”, token);
UserAccountManager m = UserAccountManager.getInstance©;
if (m.verifyCredential()) {
GeoLocation loc = new GeoLocation("+37.5", “+26.7”);
Tweet t = new Tweet(“Cool! Geo-located tweet via Twitter API ME. \o/”, loc);
TweetER ter = TweetER.getInstance(m);
t = ter.post(t);
}