Showing 2 of 2 total issues
Function userProfile
has 61 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
Strategy.prototype.userProfile = function(token, tokenSecret, params, done) {
var self = this;
this._oauth.get(this._userProfileURL, token, tokenSecret, function (err, body, res) {
var json;
Avoid too many return
statements within this function. Open
Open
return done(null, profile);