Skip Menu |

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

Report information
The Basics
Id: 96865
Status: resolved
Priority: 0/
Queue: Flickr-Upload

People
Owner: Nobody in particular
Requestors: kshepherd [...] scarletline.com
Cc:
AdminCc:

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



Subject: Flickr API now requires SSL
Date: Tue, 1 Jul 2014 19:24:37 +0100
To: bug-Flickr-Upload [...] rt.cpan.org
From: Kevin Shepherd <kshepherd [...] scarletline.com>
Flickr::Upload v1.32 SSL bug fix suggestion Dear Christophe Beauregard, Thank you for writing the excellent and useful Flickr::Upload module. As you may know, Flickr now require the use of https, and so your module version 1.32 no longer works, unless the parameter: 'uri' => 'https://api.flickr.com/services/upload/', is added to upload calls. For example: use Flickr::Upload; my $ua = Flickr::Upload->new( { 'key' => '90909354', 'secret' => '37465825' }); $ua->upload( 'uri' => 'https://api.flickr.com/services/upload/', # THIS LINE ADDED 'photo' => '/tmp/image.jpg', 'auth_token' => $auth_token, 'tags' => 'me myself eye', 'is_public' => 1, 'is_friend' => 1, 'is_family' => 1 ) or die "Failed to upload /tmp/image.jpg"; I would like to suggest a modification to your sub make_upload_request whereby the line: my $uri = $args{'uri'} || 'http://api.flickr.com/services/upload/'; would become: my $uri = $args{'uri'} || 'https://api.flickr.com/services/upload/'; I believe that this would fix the problem. Thank you for reading this email. - Kevin -- Kevin Shepherd <kshepherd@scarletline.com> <kshepherd@scarletline.com> Scarlet Line - Software Design & Development www.scarletline.com
This is fixed as of version 1.4. Thank you, Kevin, for reporting the problem, and please test out the new version.