Hi Stefan,

It is not possible to subscribe to a notification server, but you can
query only the latest changes.

For example, to send a date-range query, add the updated-min parameter
to the request URL. To get all the contact entries updated after March
16, 2009, send an HTTP request to the contact's feed URL:
GET 
http://www.google.com/m8/feeds/contacts/liz%40gmail.com/full?updated-min=2009-03-16T00:00:00

More Info:
http://code.google.com/apis/contacts/docs/3.0/developers_guide_protocol.html#retrieving_with_query

Cheers,
Julian

On Nov 18, 7:58 am, steki <[email protected]> wrote:
> Hi,
>
> is it possible togeta notification if part of the data has changed?
>
> example:
> the user has an mobile device that uses google sync to update
> contacts, calendar, ...
> the user has a small webapp for managing conctacs and todo's. when
> adding a new contact, the webapp adds this new contact or any changes
> to the google contacts. then google sync these updates to the iphone.
>
> the user now adds new contact data from the mobile device. google
> syncs this new contact to google contacts.
>
> now the question is:
> how do igetnotified when new data has arrives and needs to be
> updates to the webapp?
> is there a notification service that i can register to? polling data
> from google contacts regular intervals is a bad solution.
>
> an easy solution would be to register for updates with a given url
> (e.g please call <url> when data has changed), where url points to my
> webapp
> my.webapp.com/update_from_contacts
>
> thanks
> stefan

--

You received this message because you are subscribed to the Google Groups 
"Google Contacts API" 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://groups.google.com/group/google-contacts-api?hl=.


Reply via email to