http://www.google.com/base/feeds/items You should be autheticating
against this.

The snippets feed is a open public service.

Have you both checked your actual account, for any disapproval
messages?

Tom Wilson
Freelance Google Base Developer and Consultant
www.tomthedeveloper.com
Google Base Tools - http://dev.tomthedeveloper.com/googlebase

On Feb 4, 9:19 pm, Mike P <[email protected]> wrote:
> Well, I'm sending my request tohttp://www.google.com/base/feeds/snippets,
> but I still can't access the items feed, which means I can't do any
> operations (like read, write, update, and delete).
>
> I'm not sure why it isn't working.  Can any Googlers offer advice?
>
> On Feb 4, 2:02 am, "[email protected]" <[email protected]> wrote:
>
>
>
> > Where are you now sending your request instead 
> > ofhttp://www.google.com/base/feeds/items
> > ? I am having the same problem with no explanation.
>
> > Aaron
>
> > On Jan 31, 2:45 pm, Mike P <[email protected]> wrote:
>
> > > I fixed the problem by changing where I was sending my request.
> > > Originally I was usinghttp://www.google.com/base/feeds/items?, as was
> > > used in the PHP sample application provided in Google's Docs about the
> > > Base API:http://code.google.com/apis/base/samples/php/php-sample.html
>
> > > Is the items feed no longer operational?  If so, it makes developing a
> > > little bit more difficult.
>
> > > On Jan 30, 2:05 pm, Mike P <[email protected]> wrote:
>
> > > > I am generating a new session token each time because I have the if
> > > > ($_GET['token']) to check whether or not the user is being redirected
> > > > to my site via Google following authentication.
>
> > > > Is what I'm doing not the right way to approach this?
>
> > > > On Jan 30, 8:51 am, Tom Wilson <[email protected]> wrote:
>
> > > > > Is a session token is just that for the active session ? once the user
> > > > > leaves a new session token is required.
>
> > > > > Tom Wilson
> > > > > Freelance Google Base Developer and Consultantwww.tomthedeveloper.com
>
> > > > > Google Base Tools -http://dev.tomthedeveloper.com/googlebase
> > > > > Featured Project 
> > > > > :http://google-code-featured.blogspot.com/2008/02/google-base-competit...
>
> > > > > On Jan 29, 10:07 pm, Mike P <[email protected]> wrote:
>
> > > > > > I began started working with the Google Base Data API, and I've run
> > > > > > into a mysterious error.
>
> > > > > > My application (PHP based) works fine the first time a user 
> > > > > > authorizes
> > > > > > my application to access the data on their Google Account.  I then
> > > > > > receive the token and exchange it for a non-expiring session token.
>
> > > > > > The problem arises whenever a user revisits my application.  When my
> > > > > > application tries to read the items feed, I get the following
> > > > > > response:
>
> > > > > > <errors>
> > > > > > <error type="request" reason="Service not found"/>
> > > > > > </errors>
>
> > > > > > Regardless of whether I generate a new session token or reuse the
> > > > > > previous one, I get the above error.
>
> > > > > > Can anyone offer advice for tackling this problem?
>
> > > > > > (The code below handles my session tokens)
>
> > > > > > if($_GET['token']) {
> > > > > >         $old_token = $_GET['token'];
> > > > > >         $ch = curl_init();
>
> > > > > >         
> > > > > > curl_setopt($ch,CURLOPT_URL,'https://www.google.com/accounts/
> > > > > > AuthSubSessionToken');
> > > > > >         curl_setopt($ch,CURLOPT_RETURNTRANSFER,true);
> > > > > >         curl_setopt($ch,CURLOPT_FAILONERROR,true);
> > > > > >         curl_setopt($ch,CURLOPT_HTTPHEADER,array('Authorization: 
> > > > > > AuthSub
> > > > > > token="'.$old_token.'"'));
>
> > > > > >         $result = curl_exec($ch);  /* Execute the HTTP command. */
>
> > > > > >         //parse output
> > > > > >         $splitStr = split("=",$result);
> > > > > >         $token = trim($splitStr[1]);}
>
> > > > > > else {
> > > > > >         $token = 'previous session token';
>
> > > > > > }
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Base Data 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-Base-data-API?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to