From 27b1defc3c6e1812499a0542393c273a4d79446e Mon Sep 17 00:00:00 2001 From: Antoine Jackson Date: Mon, 9 Jun 2014 16:55:34 +0200 Subject: [PATCH] Raplaced facebook /me with google /plus/v1/people/me in comment --- app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.js b/app.js index 2ce15da..68ecabb 100644 --- a/app.js +++ b/app.js @@ -61,7 +61,7 @@ app.get('/me', function (req, res) { // Here we first build a request object from the session with the auth method. // Then we perform a request using the .me() method. // This retrieves a unified object representing the authenticated user. - // You could also use .get('/me') and map the results to fields usable from + // You could also use .get('/plus/v1/people/me') and map the results to fields usable from // the front-end (which waits for the fields 'name', 'email' and 'avatar'). oauth.auth('google', req.session) .then(function (request_object) {