weibo2
weibo2 copied to clipboard
redirect_uri 必须要设置吗?没有 Web 界面的应用怎么办?
@huacnlee 同问,我使用Resource Owner Password Credentials的方式,通过用户名密码的形式获取AccessToken,但调试报错:{"error"=>"unauthorized_client", "error_code"=>21326, "request"=>"/oauth2/access_token", "error_uri"=>"/oauth2/access_token", "error_description"=>"client id unauthorized to use this grant type."},提示我的应用对此形式未授权。考虑使用其他的授权模式获取AccessToken了。@huacnlee @acenqiu 有什么好办法么?我也没有Web界面。
使用用户名密码验证要申请吧。如果没有服务端可以尝试官方的sdk吧。 在 2012-7-22 下午4:59,"刘岩松" < [email protected]
写道:
@huacnlee 同问,我使用Resource Owner Password Credentials的方式,通过用户名密码的形式获取AccessToken,但调试报错:{"error"=>"unauthorized_client", "error_code"=>21326, "request"=>"/oauth2/access_token", "error_uri"=>"/oauth2/access_token", "error_description"=>"client id unauthorized to use this grant type."},提示我的应用对此形式未授权。考虑使用其他的授权模式获取AccessToken了。@huacnlee @acenqiu 有是么好办法么?我也没有Web界面。
Reply to this email directly or view it on GitHub: https://github.com/acenqiu/weibo2/issues/2#issuecomment-7159795
api规定了必须有,没有办法。