twitter oauth authorization on android , without open browser .. how to?

我怕爱的太早我们不能终老 提交于 2019-12-23 19:14:48

问题


I'm creating an android app that will share content through twitter and i'm facing some trouble with twitter oauth . I'm using twitter4j . I've seen some tutorials but all of than open the browser for autorization. Is there some way to autorize without open the browser? some sort of : dialog pops up and the user type his id and password , and the api autorize it without open the browser , webView , etc...


回答1:


You need to load the twitter page, but you can do it in a WebView. You don't need to pass it off to the Browser.



来源:https://stackoverflow.com/questions/4683084/twitter-oauth-authorization-on-android-without-open-browser-how-to

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!