Skip Menu |

This queue is for tickets about the Flickr-Tools CPAN distribution.

Report information
The Basics
Id: 38104
Status: new
Priority: 0/
Queue: Flickr-Tools

People
Owner: Nobody in particular
Requestors: james [...] jameswhite.org
Cc:
AdminCc:

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



Subject: User not found when user was returned from previous call
The following script returns: 'error_message' => 'User not found', even when the user exists. #!/usr/bin/perl use Flickr::Photo; use Flickr::API::Photosets; use Data::Dumper; my ($photo,$owner,$userid,$photosets); $photo = Flickr::Photo->new({ api_key => $my_flickr_api_key } ); if ($photo->id({id => '2719963722'})){ $owner = $photo->owner; $title = $photo->title; $username = $owner->username; } print "getting ".${username}."'s photosets."; if($username ne ""){ my $flickrphotosets = Flickr::API::Photosets->new($my_flickr_api_key); $photosets = $flickrphotosets->getList(${username}); print Data::Dumper->Dump([$photosets]); } Also: the documentation for Flickr::API::Photosets; indicates that use Flickr::API::Photos; should be used, which throws an error.