Greetings.

I have a python app that needs to access all the authenticated user's Google 
contacts to offer suggests for people they want to connect with.  It is 
utilizing the gdata-python-client 
library<http://code.google.com/p/gdata-python-client/downloads/list> (version 
2.0.14) and I am having problems when adding queries. My app works properly 
with the following scope:

  https://www.google.com/m8/feeds/contacts/default/full

but I am only getting 25 results.  The Contacts 3.0 developer 
guide<http://code.google.com/apis/contacts/docs/3.0/developers_guide.html#retrieving_without_query>
 notes 
that *The feed may not contain all of the user's contacts, because there's a 
default limit on the number of results returned. For more information, see 
the max-results query parameter. *So I have updated my scope as suggested to 
the following:

  https://www.google.com/m8/feeds/contacts/default/full?max-results=1000

but now I am getting the error: *Token invalid - AuthSub token has wrong 
scope*  

when I call:

  feed = client.GetContacts()

The contacts query parameters 
reference<http://code.google.com/apis/contacts/docs/3.0/reference.html#Parameters>
 indicates: 
max-resultsThe maximum number of entries to return. If you want to receive 
all of the contacts, rather than only the default maximum, you can specify a 
very large number for max-results.
which is exactly what I want.  Any suggestions as to what else I need to 
update in order to make this work?

Thanks!

--Ed

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