Extracting Google Plus profile photo from Email

Hey, friends, this post is all about extracting Google plus profile photo from Google Email. This tutorial will give you the URL of the image for the google email, given to the API. This will give data in JSON response. The API is based on GET method of the REST API. We can use the response from this API in mobile apps or even website, where we want to show the avatar of the registered user. In the case of Android, you can use this tutorial along with the GLIDE Library, to load the image from URL obtained in the JSON Response.

We will use the above API, for getting the public data of a google account provided in the email. The response of the above API is a JSON object which contains JSON Arrays as well as JSON Objects. We are concerned about the gphoto$thumbnail in the complete set of JSON response.

Extracting Google Plus profile photo from Email
JSON Response from the Picasaweb API.

Summar of the post: We are going to create an API, which uses another API, takes email as a parameter from the URL and then we will be Extracting Google Plus profile photo from Email via the JSON response.

Extracting Google Plus profile photo from Email
Yes, now you are good to do. You have successfully developed an API which will take email as an input and give the corresponding user’s public photo as output (URL). If you want to create an API Server, check this post. Take a few moment to share or like this content and help us to grow. Do subscribe us for more such content.

Hey there, I’m Sid. I often write articles here. Apart from being a developer, my interest range from blogging, designing, tinkering and hearing electronic. To connect with me, just navigate to any social icons, below!

Sidharth Patnaik

Hey there, I'm Sid. I often write articles here. Apart from being a developer, my interest range from blogging, designing, tinkering and hearing electronic. To connect with me, just navigate to any social icons, below!

Leave a Reply

Your email address will not be published. Required fields are marked *