[Google Login Plugin] How to get a user profile pic

[Google Login Plugin] How to get a user profile pic

  
Forge Component
(6)
Published on 2017-07-06 by Labs
6 votes
Published on 2017-07-06 by Labs

Hi,

I successfully configured google login plus plugin and got a user email & name, How to get a user profile picture in gmail user, Any one  please help me

I have to set  the assign 

SyntaxEditor Code Snippet

User name =

GoogleLogin.LocalUserGoogle.givenName + GoogleLogin.LocalUserGoogle.familyName

Email =

GoogleLogin.LocalUserGoogle.email

   

Thanks

Jeyasri

JEYASRI R wrote:

Hi,

I successfully configured google login plus plugin and got a user email & name, How to get a user profile picture in gmail user, Any one  please help me

I have to set  the assign 

SyntaxEditor Code Snippet

User name =

GoogleLogin.LocalUserGoogle.givenName + GoogleLogin.LocalUserGoogle.familyName

Email =

GoogleLogin.LocalUserGoogle.email

   

Thanks

Jeyasri

Hi You can use


http://picasaweb.google.com/data/entry/api/user/<hereYourUserIdOrYourEmail>?alt=json


chandra vikas sharma wrote:

JEYASRI R wrote:

Hi,

I successfully configured google login plus plugin and got a user email & name, How to get a user profile picture in gmail user, Any one  please help me

I have to set  the assign 

SyntaxEditor Code Snippet

User name =

GoogleLogin.LocalUserGoogle.givenName + GoogleLogin.LocalUserGoogle.familyName

Email =

GoogleLogin.LocalUserGoogle.email

   

Thanks

Jeyasri

Hi You can use


http://picasaweb.google.com/data/entry/api/user/<hereYourUserIdOrYourEmail>?alt=json


Unable to find user with email <test******>@gmail.com


JEYASRI R wrote:

chandra vikas sharma wrote:

JEYASRI R wrote:

Hi,

I successfully configured google login plus plugin and got a user email & name, How to get a user profile picture in gmail user, Any one  please help me

I have to set  the assign 

SyntaxEditor Code Snippet

User name =

GoogleLogin.LocalUserGoogle.givenName + GoogleLogin.LocalUserGoogle.familyName

Email =

GoogleLogin.LocalUserGoogle.email

   

Thanks

Jeyasri

Hi You can use


http://picasaweb.google.com/data/entry/api/user/<hereYourUserIdOrYourEmail>?alt=json


Unable to find user with email <test******>@gmail.com

Hi, 

Please User your Gmail user ID instead of <test******>@gmail.com



Hi Jeyasri,

My suggestion to use https://www.outsystems.com/forge/component/3375/google-sign-in-widget/ from forge.

You will get username and profile pic after sign in.

I will share you screenshot in few minutes.

Thanks,

Rajat Agrawal


Hi Jeyasri,


Below is the screenshot, I have tried to login from my account and I received username & profile pic - 


 and also this is the API response - 

Thanks,

Rajat Agrawal

Hai Raja

I configured the google plus login plugin in mobile app


Thanks,

Jeyasri

chandra vikas sharma wrote:

JEYASRI R wrote:

chandra vikas sharma wrote:

JEYASRI R wrote:

Hi,

I successfully configured google login plus plugin and got a user email & name, How to get a user profile picture in gmail user, Any one  please help me

I have to set  the assign 

SyntaxEditor Code Snippet

User name =

GoogleLogin.LocalUserGoogle.givenName + GoogleLogin.LocalUserGoogle.familyName

Email =

GoogleLogin.LocalUserGoogle.email

   

Thanks

Jeyasri

Hi You can use


http://picasaweb.google.com/data/entry/api/user/<hereYourUserIdOrYourEmail>?alt=json


Unable to find user with email <test******>@gmail.com

Hi, 

Please User your Gmail user ID instead of <test******>@gmail.com



Hai, 

I used it, but same error is come, I want to how to get the profile pic and how to display it 


Thanks

Jeyasri