you need to post the error.
On Mon, Jul 16, 2012 at 9:55 PM, Florian Shena <
floria...@gmail.com> wrote:
> Hi everybody,
>
> I want to use the google feed API on my nodejs app. So far I've loaded the
> api using the Nodejs http.request but when I call google.load("feeds", "1")
> I get an error :
>
> var http = require('http');
>
> var options = {
> host: '
www.google.com',
> port: 80,
> path: '/jsapi',
> method: 'GET'
> };
>
> var req = http.request(options, function(res) {
>
> res.setEncoding('utf8');
>
> res.on('data', function (chunk) {
> console.log('BODY: ' + chunk.google.load("feeds", "1"));
> });
>
> res.on('error', function(e) {
> console.log('problem with request: ' + e.message);
> });
>
> });
>
> --
> Job Board:
http://jobs.nodejs.org/
> Posting guidelines:
>
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
> You received this message because you are subscribed to the Google
> Groups "nodejs" group.
> To post to this group, send email to
nod...@googlegroups.com
> To unsubscribe from this group, send email to
>
nodejs+un...@googlegroups.com
> For more options, visit this group at
>
http://groups.google.com/group/nodejs?hl=en?hl=en