According to the error, it seems that you manage to authenticate to the 
service. But are you trying to access Google Docs and Spreadsheets or Google 
Contacts? For the former, I would suggest going to those APIs forums 
here<http://code.google.com/apis/documents/forum.html>and 
here <http://code.google.com/apis/spreadsheets/forum.html>.
For the latter, you would need to change the scope to 
'https://www.google.com/m8/feeds':

[CODE]
$SCOPES = array(
  'https://www.google.com/m8/feeds',
);
[/CODE]

After that, you will need to call the appropriate method for interacting 
with the user's contacts. Please refer to the Zend framework 
documentation<http://framework.zend.com/manual/en/zend.gdata.html>
.
Unfortunately, there doesn't seem to be a wrapper around the Contacts API 
but you should be able to do something similar to this:

[CODE]
$query = new 
Zend_Gdata_Query('http://www.google.com/m8/feeds/contacts/default/full');
$feed = $gdata->getFeed($query);
[/CODE]

For additional resources, you can consult this excellent 
tutorial<http://www.ibm.com/developerworks/opensource/library/x-phpgooglecontact/index.html>
.

Best,
Alain

-- 
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