Twitter Login Dialog error

后端 未结 1 1805
春和景丽
春和景丽 2021-01-13 16:04

\"enter

Hi i have integrated twitter in my android application.here the proble

1条回答
  •  孤独总比滥情好
    2021-01-13 16:56

    You need to force login second time to resolve this issue,

    So just add the force_login=true in your twitter authorize url.

    I mean just change the below line of code in TwitterApp.java class (if you have a class file with different name then search in your project with DefaultOAuthProvider)

    mHttpOauthprovider = new DefaultOAuthProvider("http://twitter.com/oauth/request_token",
                    "http://twitter.com/oauth/access_token",
            "http://twitter.com/oauth/authorize?force_login=true");
    

    after adding force_login=true webview loading issue will be resolve but every time you need to enter login and password.

    I was stuck whole day to resolve this issue.

    0 讨论(0)
提交回复
热议问题