diff --git a/lib/profile/googleplus.js b/lib/profile/googleplus.js index 0607ba1..d7cf992 100644 --- a/lib/profile/googleplus.js +++ b/lib/profile/googleplus.js @@ -41,7 +41,10 @@ exports.parse = function(json) { if (json.image) { profile.photos = [{ value: json.image.url }]; } + if (json.cover && json.cover.coverPhoto && json.cover.coverPhoto.url) { + profile.coverPhoto = json.cover.coverPhoto.url; + } profile.gender = json.gender; - + return profile; };