Open slawek-kobiec opened 5 years ago
The Picasa web API has been deprecated and all calls to it are being blocked, unless the calleer made a extension request, which is not our case.
I read the migration guide and I couldn't find how to migrate this specifc endpoint.
@odahcam I think we need to use Google Photos API https://developers.google.com/photos/library/guides/overview I'm not sure if it's possible to retrieve the user avatar with this API. I am going to check the documentation.
Yeah, we need, that's what I found reading the migration guide I linked, but I found nothing about profile pics. I thought about Google+, but that thing is scheduled to die anyway, so I ran out of good options and I searched Stack Overflow which pointed me back to Google+. 😆
Also, the new Google Photos API has very few resources and that's what makes me think that it is just about https://photos.google.com. So I started to think that maybe we gonna need to SignIn the user -> https://developers.google.com/identity/sign-in/web/ (this page shows how to get a BasicProfile.imageUrl) because I'm out of ideas.
This may be the solution for our problems:
(sorry, but my primary language is portuguese)
Following up with this API, I managed to get my own profile picture:
The request URL and its parameters:
GET https://people.googleapis.com/v1/people/{ANY_USERS_ID_OR_ME}?personFields=photos&key={YOUR_API_KEY}
@HaithemMosbahi any plans to fix this using Google People API?
Javascript Console Errors:
Google Note: https://developers.google.com/picasa-web/
ngx-avatar version: 3.2.0