
求解:新浪微博获取accessToken出了问题
OAuth认证时,已经获取到了verifier了(getQueryParameter(OAuth.OAUTH_VERIFIER);)然后通过provider.retrie...
OAuth认证时,已经获取到了verifier了(getQueryParameter(OAuth.OAUTH_VERIFIER);)然后通过provider.retrieveAccessToken(consumer, my_verifier);却获取不到AccessToken,显示的错误是:oauth.signpost.exception.OAuthNotAuthorizedException: Authorization failed (server replied with a 401). This can happen if the consumer key was not correct or the signatures did not match.。。。为啥么呢,key肯定不会有错误的啊,不然也不会得到verifier啊
展开
展开全部
可能是provider.retrieveAccessToken(consumer, my_verifier出了问题
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询