Hey c-bone,

It's not possible to do that purely with a request to the API. You will have
to do that manually. Extract from the doc:

----

Every contact has a photo link element. It has the form:

<link rel='http://schemas.google.com/contacts/2008/rel#photo' type='image/*'

  href='https://www.google.com/m8/feeds/photos/media/liz%40gmail.com/c9012de'

  gd:etag='"KTlcZWs1bCp7ImBBPV43VUV4LXEZCXERZAc."'>

That element appears whether the contact has an associated photo or not. If
the contact does have a photo, then the element contains a gd:etag attribute
specifying an ETag for the photo. If the contact has no photo, then there's
no gd:etag attribute, and the href attribute provides the URL to use to add
a photo to the contact.

----

You will basically have to programmatically go through the contacts and look
for the presence of the gd:etag attribute in the <link rel='
http://schemas.google.com/contacts/2008/rel#photo' element.


Cheers
*
Nicolas Garnier*
Developer Programs Engineer
Google Developer Relations*
Google Switzerland GmbH.
Brandschenkestrasse 110,
8002 Zurich,
Switzerland
*

*The above terms reflect a potential business arrangement, are provided
solely as a basis for further discussion, and are not intended to be and do
not constitute a legally binding obligation. No legally binding obligations
will be created, implied, or inferred until an agreement in final form is
executed in writing by all parties involved.

This email may be confidential or privileged. If you received this
communication by mistake, please don't forward it to anyone else, please
erase all copies and attachments, and please let me know that it went to the
wrong person. Thanks

--

**“When I’m being sad, I stop being sad and be awesome instead”*


On Thu, Jul 7, 2011 at 01:14, c-bone <[email protected]> wrote:

> Is it possible to filter only the people who have photos?
>
> --
> You received this message because you are subscribed to the Google
> Groups "Google Contacts, Shared Contacts and User Profiles APIs" group.
> To post to this group, send email to
> [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://code.google.com/apis/contacts/community/forum.html
>

-- 
You received this message because you are subscribed to the Google
Groups "Google Contacts, Shared Contacts and User Profiles APIs" group.
To post to this group, send email to
[email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://code.google.com/apis/contacts/community/forum.html

Reply via email to