I have an application that lists the users in your circles using the Google+ APIs. That works nicely except for one thing: the API does not say if a user has a picture or if the picture is just the placeholder (the blue silhouette).
https://developers.google.com/+/api/latest/people/list
{
"kind": "plus#person",
"etag": etag,
"id": string,
"displayName": string,
"image": {
"url": string
},
}
How do I determine if the picture is a placeholder? (so that I don't have to download it)
Image URLs are there:
https://www.google.com/s2/photos/profile/{user_id}
https://plus.google.com/s2/photos/profile/{user_id}
https://profiles.google.com/s2/photos/profile/{user_id}
For now, a 404 is better than downloading the default picture. I'd still love the API to simply tell us that the user has not set a picture :(
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With