I am trying to figure out how to pass oauth through the DocumentQuery
class so I can do some discovery work.

First thing I found is that I need to add (&) to the end of my base
url
(http://docs.google.com/feeds/documents/private/full/?
[email protected]&)

Here is a working get query:
http://docs.google.com/feeds/documents/private/full/[email protected]&q=Blackberry

However, if I run through the DocumentQuery class:
                  DocumentQuery query = new DocumentQuery(feedUrl);
                  query.setFullTextQuery("Blackberry");
                  DocumentListFeed feed = client.getFeed(query,
DocumentListFeed.class);
it puts a (?) in front of the q.
(http://docs.google.com/feeds/documents/private/full/?
[email protected]&?q=Blackberry)

This returns all docs in the account because everything after the
second (?) is ignored.

I am thinking that the (?) should be (&) in the DocumentQuery class
but this might be just for OAuth.
or an overload constructor to pickup and add the OAuth string.

If I am doing something wrong please point it out.
--~--~---------~--~----~------------~-------~--~----~
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=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to