2013-05-30 52 views

回答

0

看看这里http://disqus.com/api/docs/users/details/

你需要注册你的网站。

简单的GET请求的答复是这样的

"code": 0, 
    "response": { 
    "username": "disqus_api", 
    "about": "", 
    "name": "disqus_api", 
    "url": "", 
    "isFollowing": false, 
    "isFollowedBy": false, 
    "profileUrl": "http://disqus.com/disqus_api/", 
    "emailHash": "67f79ed8e10b74abf07a8dfe101bbab2", 
    "avatar": { 
     "permalink": "http://disqus.com/api/users/avatars/disqus_api.jpg", 
     "cache": "http://mediacdn.disqus.com/1091/images/noavatar92.png" 
    }, 
    "id": "1", 
    "isAnonymous": false, 
    "email": "[email protected]" 
    } 
} 
+0

这看起来不错 - 只是为了检查,不是** **需要一个用户名/用户ID被赋予它(因为这是我想找出)? – James

+0

你需要注册你的应用程序的一组证书,表明你是一个用户,文档说没有需要授权......你可能必须通过一些密钥等......没有使用它自己。 – varun

+0

我收到错误“您必须提供用户或认证用户”,但问题是我想知道用户是谁。我该怎么做呢? – nicolas