angular-google-plus
angular-google-plus copied to clipboard
Get extra fields like placesLived or birthday
According to the documentation (here), how i can find the following informations : placesLived and birthday ? Because when I set the scope : https://www.googleapis.com/auth/plus.me
GooglePlusProvider.setScopes('profile email https://www.googleapis.com/auth/plus.me');
The response data of getUser() returns me basic informations without extra ...
I added this method in the module :
f.prototype.getProfile = function() {
var a = b.defer();
gapi.client.load("oauth2", "v2", function() {
gapi.client.oauth2.userinfo.get().execute(function(resp) {
gapi.client.load("plus", "v1", function() {
gapi.client.plus.people.get({'userId':resp.id}).execute(function(b) {
a.resolve(b);
c.$apply();
});
});
});
});
return a.promise;
};
I don't know why the author don't integrate this feature... weird.