retrive oath token and oauth secret from android twitter login using dialog -


i'm making android login using twitter api last step made open url on dialog contains webview code

    @override protected string doinbackground(void... params) {     string url = null;     try {         log.i(tag, "retrieving request token google servers");           url = provider.retrieverequesttoken(consumer, constants.oauth_callback_url);         log.i(tag, "popping browser authorize url : " + url);        } catch (exception e) {         log.e(tag, "error during oauth retrieve request token", e);     }       return url; } 

then open dialog url , sign twitter need make tweet , retrieve username of user

use twitteroauthview getting accesstoken.


Comments

Popular posts from this blog

c++ - Function signature as a function template parameter -

algorithm - What are some ways to combine a number of (potentially incompatible) sorted sub-sets of a total set into a (partial) ordering of the total set? -

How to call a javascript function after the page loads with a chrome extension? -