Nixis Innovation Nixis Innovation - 27 days ago 8
PHP Question

How to get google profile picture by email?

how can we get the profile pic of google+ only with the email? or in the worse case, get the user id with the email?

We have a list of clients with their emails, and we want to display their profile picture in that list.

Is this posible in Javascript or PHP?


Answer Source

Looks like Google does not allow you to get the profile picture just with the client's email. However, the API does allow.

Related: Find Google+ avatar for given email address without OAuth