I´m using this code:
my $nsid = "88892271\@N00";
my $flickrphotosets = Flickr::API::Photosets->new($flickr_key);
my $rsp = $flickrphotosets->getList($nsid);
if( $rsp->{success} ) {
my $psets = $rsp->{photosets};
foreach my $s (@$psets) {
print "id: " . $s->{id} . " title: " . $s->{title} . "\n";
}
}
I'm getting errors:
Use of uninitialized value in exists at
/usr/local/share/perl/5.10.0/Flickr/API/Utils.pm line 109.
Use of uninitialized value in concatenation (.) or string at
/usr/local/share/perl/5.10.0/Flickr/API/Utils.pm line 143.
How odd, I don't know anything about an ''element... Ignoring it.
Use of uninitialized value in exists at
/usr/local/share/perl/5.10.0/Flickr/API/Utils.pm line 109.
Use of uninitialized value in concatenation (.) or string at
/usr/local/share/perl/5.10.0/Flickr/API/Utils.pm line 143.
How odd, I don't know anything about an ''element... Ignoring it.
...
Looks like 2 sets of errors per photoset maybe.
Also I don't like the way I'm supposed to specify my email account and
password in the program (in the "new" constructor method). Can't I use
the auth_token? I need to get all photosets (my own), not just the ones
visible to the public.
I tried once to specify the email/password but it didn't work.
Thanks in advance,
Gudmundur Karlsson