Skip Menu |

This queue is for tickets about the WebService-Google-Reader CPAN distribution.

Report information
The Basics
Id: 105624
Status: resolved
Priority: 0/
Queue: WebService-Google-Reader

People
Owner: Nobody in particular
Requestors: pas [...] unh.edu
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: AppID and AppKey now required at inoreader, I think
Date: Thu, 2 Jul 2015 13:25:01 -0400
To: bug-WebService-Google-Reader [...] rt.cpan.org
From: Paul Sand <pas [...] unh.edu>
Hi -- First, thanks very much for WebService::Google::Reader. I use it in a small script that periodically gets a list of unread articles from the Inoreader service to my workstation, so I can use my own "reader" to plow through them. Disclaimer: I'm not even a novice web programmer, so I am almost certainly missing something important. My script worked fine until last night, sometime between 2:20am and 3:20am (EDT) on July 2, it started failing. I think Inoreader started requiring an AppID and Appkey be sent in request headers, disallowing requests without them. (Why in the middle of the night? I don't know.) My "fix" was to request an AppID/Appkey from them. And then around line 420 of your Reader.pm: $req->header(AppId => '100000....'); $req->header(AppKey => 'xeq8o....................yUSUFQZ'); This seems to work. (I was somewhat surprised.) But it also seems like there should be a way to do this in my code rather than yours. Probably in the new() method? Anyway, just thought I would share. Again, thanks. -- -- Paul A Sand <pas@unh.edu> -- Information Technology / University of New Hampshire -- http://pubpages.unh.edu/~pas -- No user serviceable parts inside.
On Thu Jul 02 13:25:21 2015, pas@unh.edu wrote: Show quoted text
> Hi -- > > First, thanks very much for WebService::Google::Reader. > > I use it in a small script that periodically gets a list of unread > articles from the Inoreader service to my workstation, so I can use my > own "reader" to plow through them. > > Disclaimer: I'm not even a novice web programmer, so I am almost > certainly missing something important. > > My script worked fine until last night, sometime between 2:20am and 3:20am > (EDT) on July 2, it started failing. > > I think Inoreader started requiring an AppID and Appkey be sent in > request headers, disallowing requests without them. (Why in the middle > of the night? I don't know.) > > My "fix" was to request an AppID/Appkey from them. And then around line > 420 of your Reader.pm: > > $req->header(AppId => '100000....'); > $req->header(AppKey => 'xeq8o....................yUSUFQZ'); > > This seems to work. (I was somewhat surprised.) > > But it also seems like there should be a way to do this in my code > rather than yours. Probably in the new() method? > > Anyway, just thought I would share. Again, thanks.
Thanks for bringing this to my attention. I just uploaded 0.23 which supports appid and appkey.