How to filter user uploaded profile photo from google default profile photo

220 views Asked by At

I am using Google People API v1 to fetch user's photos. I want to use photos uploaded by the user to suggest profile pictures for my application. Is there any way to filter

enter image description here

from

google provided default profile picture?

The Google+ api gives 'isDefault' flag, and it is set to 'false' for profile photos uploaded by the user (How to check whether Google User's image is default or uploaded?) but I am not able to find any similar structure in the People API.

1

There are 1 answers

1
Amos Yuen On BEST ANSWER

A new default field has been recently added to the Photo message in People API.