Open dipbhi opened 6 years ago
The oauth/request_token is not under the twitter rest api route. Please use the full path to prevent twit generate the wrong url.
twtr.post("https://api.twitter.com/oauth/request_token", {
"oauth_callback": "[host]/twitter_callback"
}, function(err, data, response) {
console.log(data);
});
Calling post on "oauth/request_token" returns an error.
Code:
It logs:
{ errors: [ { message: 'Sorry, that page does not exist', code: 34 } ] }