Service provider responded in error: 301 (Moved Permanently) - Twitter API 1.1

后端 未结 2 1378
迷失自我
迷失自我 2020-12-20 13:20

I get this error when trying to connect to Twitter? Why?

02-18 16:40:33.270: W/System.err(7167): oauth.signpost.exception.OAuthCommunicationException: Commun         


        
2条回答
  •  旧时难觅i
    2020-12-20 14:17

    Noticed same issue recently. Had to update twitter oauth paths from http to https like this

    new DefaultOAuthProvider(
                            "https://api.twitter.com/oauth/request_token",
                            "https://api.twitter.com/oauth/access_token",
                            "https://api.twitter.com/oauth/authorize");
    

提交回复
热议问题