0

これにより、「不正な認証データ」エラーが返されます

  request.post({
    url: "https://api.twitter.com/1.1/statuses/update.json",
    oauth: {
      consumer_key: auth.twitter.consumerKey,
      consumer_secret: auth.twitter.consumerSecret,
      access_token_key: this.authToken,
      access_token_secret: this.authSecret
    },
    params: {
      status: "Check this out!!"
    }
  }, function(err, response, body) {
    return console.log(err, body); // null '{"errors":[{"message":"Bad Authentication data","code":215}]}'
  });

私が間違っていることは何か分かりますか?

4

1 に答える 1