Added API endpoint for twitter calls to use in codepen. NOTE added tokens to env file

This commit is contained in:
A. Drake
2015-04-29 08:00:57 -04:00
parent 81ccadc106
commit ffa2404993
4 changed files with 32 additions and 2 deletions

View File

@ -37,8 +37,10 @@ module.exports = {
},
twitter: {
consumerKey: process.env.TWITTER_KEY,
consumerSecret: process.env.TWITTER_SECRET,
consumerKey: process.env.TWITTER_KEY,
consumerSecret: process.env.TWITTER_SECRET,
token: process.env.TWITTER_TOKEN,
tokenSecret: process.env.TWITTER_TOKEN_SECRET,
callbackURL: '/auth/twitter/callback',
passReqToCallback: true
},