admin管理员组

文章数量:1406924

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?

Regards

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?

Regards

Share Improve this question edited Feb 22, 2023 at 16:55 Flimm 152k49 gold badges277 silver badges291 bronze badges asked Jan 4, 2016 at 18:53 Nixis InnovationNixis Innovation 511 gold badge1 silver badge3 bronze badges 5
  • I think this is possible with the Google+ API. PHP is the way to go as this is more server side. – RepeaterCreeper Commented Jan 4, 2016 at 18:55
  • Not sure about google you can look in to en.gravatar. – E_p Commented Jan 4, 2016 at 18:56
  • I have answered a similar question here. Please take a look to see how easy is to acplish this with a totally free and open source project stackoverflow./a/46355569/845296 – epool Commented Sep 22, 2017 at 3:15
  • 1 Possible duplicate of Retrieving a user's public google/gmail picture – Donald Duck is with Ukraine Commented Dec 15, 2018 at 14:20
  • Google+ has been shut down, now. – Flimm Commented Feb 22, 2023 at 16:56
Add a ment  | 

1 Answer 1

Reset to default 4

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

本文标签: javascriptHow can I get the Google profile picture of an email addressStack Overflow