Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion Changes to sending authenticated requests to Google Reader
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Mihai Parparita  
View profile  
 More options Feb 12 2010, 5:05 pm
From: Mihai Parparita <mih...@google.com>
Date: Fri, 12 Feb 2010 17:05:15 -0500
Local: Fri, Feb 12 2010 5:05 pm
Subject: Re: Changes to sending authenticated requests to Google Reader
The cleanest way to detect the bad/expired token state is to request
/reader/api/0/user-info (which gets you information about the
currently logged-in user). You shouldn't get a 401 in any other case
there (I assume you're referring to 401s you could get when requesting
a shared items stream that you don't have permission to see, as far as
other reasons you could get it).

Mihai

On Fri, Feb 12, 2010 at 4:59 PM, Nick Bradbury <nick.bradb...@gmail.com> wrote:
> I've changed over to using the auth token in FeedDemon, and my
> understanding is that if the auth token expires, the request will
> return HTTP 401, and the first time HTTP 401 is received the auth
> token should be re-requested.  But since HTTP 401 can be received for
> other reasons, I'm wondering how to know for sure that the failure was
> due to a bad/expired token?

> For example, in the case of a bad/expired T token (used with GRAPI
> calls), the request will return HTTP 400, and the HTTP headers will
> include "X-Reader-Google-Bad-Token: true."  Is there anything similar
> for a bad/expired auth token?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.