I'm kind of building a website and I want to allow Google login. I don't want my customers upload their profile pictures again to my website. I have some clue on how to do it with facebook, but how do I fetch a profile picture from a google plus account once the user has been authenticated via a Google account? Is there any API for this? If yes, kindly share.
We can easily get it with plus client When plus client is connected i.e
if(plusClient.isConnected){
plusClient.getCurrentPerson().getImage().getUrl();
}
It will provide you the url of the image.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With