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

Report information
The Basics
Id:
38104
Status:
new
Priority:
Low/Low
Queue:

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

BugTracker
Severity:
Normal
Broken in:
0.02
Fixed in:
(no value)



Subject: User not found when user was returned from previous call
MIME-Version: 1.0
X-Mailer: MIME-tools 5.426 (Entity 5.426)
Content-Type: text/plain
Charset: utf8
Content-Disposition: inline
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 791
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.


This service runs on Request Tracker, is sponsored by The Perl Foundation, and maintained by Best Practical Solutions.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.