Changed tokens from an object of objects to just an array, Tumblr strategy now pushes a new token in addition to tokenSecret as well as token kind
This commit is contained in:
@ -73,6 +73,13 @@ exports.getTumblr = function(req, res) {
|
||||
});
|
||||
}
|
||||
|
||||
var client = tumblr.createClient({
|
||||
consumer_key: '<consumer key>',
|
||||
consumer_secret: '<consumer secret>',
|
||||
token: '<oauth token>',
|
||||
token_secret: '<oauth token secret>'
|
||||
});
|
||||
|
||||
res.render('api/tumblr', {
|
||||
title: 'Tumblr API',
|
||||
user: req.user
|
||||
|
Reference in New Issue
Block a user