twitter4j - android twitter retrieveRequestToken 401 on request token -
i trying following sample app twitter oauth. http://www.androidsdkforum.com/android-sdk-development/3-oauth-twitter.html private void askoauth() { try { consumer = new commonshttpoauthconsumer(consumer_key, consumer_secret); provider = new defaultoauthprovider("http://twitter.com/oauth/request_token", "http://twitter.com/oauth/access_token", "http://twitter.com/oauth/authorize"); string authurl = provider.retrieverequesttoken(consumer, callback_url); toast.maketext(this, "please authorize app!", toast.length_long).show(); this.startactivity(new intent(intent.action_view, uri.parse(authurl))); } catch (exception e) { log.e(app, e.getmessage()); toast.maketext(this, e.getmessage(), toast.length_long).show(); } } when run following cod...