I'm trying to do a really basic Google People API request...
https://people.googleapis.com/v1/people/108498888227655418560?personFields=photos&key=XXX
(API key redacted)
It produces the error...
{
"error": {
"code": 403,
"message": "The caller does not have permission",
"status": "PERMISSION_DENIED"
}
}
I've successfully tested the API key before with the same type of request. It's a key from our Google Developer Console called "Browser key (auto created by Google Service)".
I also tried the same request using the Google API Explorer using API key authentication, same result...
The API Explorer uses a demo API key, so the problem isn't the key it seems.
Could it be photos
is no longer part of a Google user's public profile data? I don't think so, since you can go see the user's profile photo (even when completely logged out of Google) at...
http://profiles.google.com/108498888227655418560
Maybe the People API is just broken? It was definitely working just a couple of days ago (Feb 5th 2018).