Getting publicly accessible user thumbnail URL for GSuite public user photos

Viewed 398

User's photo URLs are available through the Directory API (I'm using the Java client, which shouldn't matter), however the URL provided is in the private scope, even when that user's profile image is set to public. This causes redirection to a generic silhouette image. I'm aware you can get the base64 encoded 96x96 pixel image via the user/photos API, however needing to serve GSuite's profile images myself is ridiculous. What is the correct flow to get user's image URLs for display?

0 Answers
Related