Also for any Android devs I had to invalidate the auth token using
GoogleLoginServiceBlockingHelper.invalidateAuthToken() before
retrieving a new auth token otherwise I was just getting the same
stale one.
Mark
To unsubscribe from this group, send email to fougrapi+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
I also remember that Nick explained on this list that he worked on a
more elaborate way to look deeper into the 401 responses to prevent
false positives, i.e. temporary errors ... if I remember correctly.
Jayesh, it seems to be 14 days now.
Mihai, would it burden you to move the cutoff date a bit? The current
version of NewsRob is using Auth, but a small percentage of users,
still thousands, don't regularly check for updates and the Android
notification mechanism in some Android versions seems broken.
Recently a bug in some NewsRob upgrade code surfaced that some users
don't update for more than 3 months.
I *think* that the other Android apps face the same issue.
Cheers,
Mariano
Mark, to deal with that I check for 401 and 302. Mihai explained the
difference here:
http://groups.google.com/group/fougrapi/msg/46e618b73caa7292
I also remember that Nick explained on this list that he worked on a
more elaborate way to look deeper into the 401 responses to prevent
false positives, i.e. temporary errors ... if I remember correctly.
Jayesh, it seems to be 14 days now.
Mihai, would it burden you to move the cutoff date a bit? The current
version of NewsRob is using Auth, but a small percentage of users,
still thousands, don't regularly check for updates and the Android
notification mechanism in some Android versions seems broken.
Recently a bug in some NewsRob upgrade code surfaced that some users
don't update for more than 3 months.
I *think* that the other Android apps face the same issue.
https://www.google.com/reader/api/0/unread-count?output=json
On Mar 19, 2:10 am, Mihai Parparita <mih...@google.com> wrote:
> Which URL were you requesting that you got redirected to the login page?
> Generally, /api/0/ URLs should result in a 401, while other URLs (which are
> user-visible) will result in a 302 to the login page.
>
> Mihai
>
I also use both "public" and "non public" Reader APIs, so the way I
detect 301s is rather than parsing the response, I track redirects
(using org.apache.http.impl.client.DefaultRedirectHandler)
and if my last redirects was to Google's ClientLogin url, I know I had
authentication error. It would be nice if there was a better way to
detect that. There used to be a a special cookie starting with "Google
Accounts" in the response of the ClientLogin but that got removed a
couple of months ago).
My experience also shows that people update slowly. If it is possible
to delay the switch (for may be a month or two) it will be better.
Stefan