如何让 disqus 授权 api 调用?



我正在尝试授权 https://disqus.com/api/oauth/2.0/authorize/?client_id=XXXXX 的 api 调用

我在回调网址中收到以下响应

state=&error_description=You+may+reference+this+error+as+Unknown+error&error=server_error

如何解决这个问题?

引用官方disqus文档,您需要通过发布来获取新的OAuth令牌

POST https://disqus.com/api/oauth/2.0/access_token/?
grant_type=refresh_token&
client_id=PUBLIC_KEY&
client_secret=SECRET_KEY&
refresh_token=REFRESH_TOKEN

最新更新