code: function (req, res, next) {
      var socialApiUrl = 'https://social.yahooapis.com/v1/user/' + req.xoauth_yahoo_guid + '/profile?format=json';
      var headers = { Authorization: 'Bearer ' + req.accessToken };
  
      request.get({ url: socialApiUrl, headers: headers, json: true }, function(err, response, body) {
        if (err) {
          res.status(500).send(err);
          return;
        }
        req.profile = body.profile;
        next();
      });
    }
docs: Step 2. Retrieve profile information about the current user.