6

Background

In the past, and in the near future, it's possible, given a person's email, to get the profile photo, as shown here:

Retrieving a user's public google/gmail picture

It is even possible without any login to the network of G+, as shown here.

The problem

As the docs say (here), this API will soon be deprecated and so it won't be possible to use it anymore:

The Picasa Web Albums Data API will be turned off and all associated OAuth scopes will be disabled. Read the deprecation notice.

Key dates:

  • January 2019 Unless you have requested an extension, all calls to the Picasa Web Albums Data API will begin to fail from this date onwards.
  • March 2019 The Picasa Web Albums API will be turned off. All calls to this API will fail from this date onwards and you cannot request any further extensions.

What I've found

Looking at the new API (migration guide and normal docs), I don't see any similar approach to just reach a website URL and get the image of the profile. All they talk about is the photos API of Google Photos app.

What I do know is that there is the "People" API for a similar thing, but as I remember it requires a login first.

The question

Is there an alternative API to what is currently available?

Is there a way using one of Google's APIs to get the public profile photo of a person's email address, even without login? Or maybe login is now required no matter what?

android developer
  • 114,585
  • 152
  • 739
  • 1,270
  • On the migration guide, it states under the features that will not be supported: `Server-to-server requests made through service accounts or anonymous requests. All requests must be authorized by a Google Photos user`, so I believe that this kind of request will not be available anymore. – Rodrigo Vasconcelos Jan 15 '19 at 10:42
  • @RodrigoVasconcelos That's too bad. Do you know how to use it using this API , with the authorization of "a Google Photos user" ? – android developer Jan 15 '19 at 14:49

1 Answers1

0

A possible solution I found so far is about using people API with your own key, But you still need to get the account id for the particular email address

olawalejuwonm
  • 1,315
  • 11
  • 17