node-twitter-sign-in-example icon indicating copy to clipboard operation
node-twitter-sign-in-example copied to clipboard

Wrong property names used in twitter.js

Open Gildon opened this issue 8 years ago • 0 comments

this._twitter = new Twitter({
	consumerKey: secret.twitter.consumerKey,
	consumerSecret: secret.twitter.consumerSecret,
	callback: secret.twitter.callbackUrl
});

Should be

this._twitter = new Twitter({
	consumerKey: secret.twitter.consumer_key,
	consumerSecret: secret.twitter.consumer_secret,
	callback: secret.twitter.callbackURL
});

As per the secret.json file.

Gildon avatar Jun 10 '18 14:06 Gildon