var request = require('request');
request.get({
url: 'https://api.twitter.com/1.1/application/rate_limit_status.json?resources=help,users,search,statuses',
oauth: {
consumer_key: 'Keys'
, consumer_secret: 'are'
, access_token: 'here'
, access_token_secret: ''
}
}, function (error, response, body) {
if (error) {
reject(error);
}
var json = JSON.parse(body);console.log(body);
});
我得到“必须经过身份验证”的错误,即使我已经准备好我的密钥并且我不在任何代理之后。任何想法为什么?