【发布时间】:2013-02-23 07:41:20
【问题描述】:
我无法刷新 Reddit 访问令牌。
当我向https://ssl.reddit.com/api/v1/access_token发送以下请求时
Content-Type: application/x-www-form-urlencoded
Authorization: #####
client_secret=#####&grant_type=refresh_token&client_id=#####&refresh_token=#####
我得到状态200,但内容是{"error": "invalid_request"}。
根据OAuth 2.0 spec 和Reddit spec 我做的一切都是正确的。
我也尝试过不使用client_id 和client_secret,结果相同。
我错过了什么吗?
【问题讨论】: