Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-45462

Flickr API must use HTTPS

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 2.5.5, 2.6.2, 2.7
    • Fix Version/s: 2.5.6, 2.6.3
    • Component/s: Repositories
    • Labels:
    • Testing Instructions:
      Hide
      1. Set up and enable:
        • Repository Flickr public
        • Repository Flickr
        • Portfolio Flickr
      1. Create a new tag with a sensible name, eg "beer"
      2. Go to the tags page, and click on the tag name to get to the tag page
      3. Add the block Flickr to that page and configure it to display some pictures
      4. Make sure the "beer" tag page displays the Flickr block with some pictures in it
      5. Create a new blog post
      6. In the editor, pick images from (as copies, not alias):
        • Flickr Public
        • Flickr (your account)
      7. Make sure the files are properly integrated in your editor
      8. Create a new forum post, and add an image attachment
      9. Export the image to a portfolio and pick Flickr
      10. Finish the process and make sure the image is displayed on your Flickr Photostream
      Show
      Set up and enable: Repository Flickr public Repository Flickr Portfolio Flickr Create a new tag with a sensible name, eg "beer" Go to the tags page, and click on the tag name to get to the tag page Add the block Flickr to that page and configure it to display some pictures Make sure the "beer" tag page displays the Flickr block with some pictures in it Create a new blog post In the editor, pick images from (as copies, not alias): Flickr Public Flickr (your account) Make sure the files are properly integrated in your editor Create a new forum post, and add an image attachment Export the image to a portfolio and pick Flickr Finish the process and make sure the image is displayed on your Flickr Photostream
    • Affected Branches:
      MOODLE_25_STABLE, MOODLE_26_STABLE, MOODLE_27_STABLE
    • Fixed Branches:
      MOODLE_25_STABLE, MOODLE_26_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-45462-master

      Description

      I just received this email:

      We see that you own an active API key for the Flickr API, and wanted make sure you know about some upcoming changes to the API related to SSL.

      As you may have read on the Flickr code blog, we've updated all of the API endpoints to fully support SSL. You no longer need to use a special subdomain to access the API securely, and we want to make sure that all API communication adopts SSL.

      Many of you have moved over to using SSL already, which is great! If you haven't, it shouldn't be much more work than updating your apps to call the API at: https://api.flickr.com/

      We'll be updating the blog with information as we get close to the switchover date, but here's the most important info:

      New API keys will be issued for HTTPS access only: as of 6 May 2014
      First blackout test window: 3 June 2014, 10:00-12:00 Pacific Daylight Time (PDT)
      Second blackout test window: 17 June 2014, 18:00-20:00 (PDT)
      Non-SSL API deprecated: 27 June 2014, 10:00 (PDT)

      During the blackout tests and after the 27th of June, calls to the Flickr API that are not over SSL will fail with an HTTP error code 403. We will also return an error message with (Flickr) code 95 and msg "SSL is required".

      Here are example error responses:

      XML (REST):

      <?xml version="1.0" encoding="utf-8" ?> <rsp stat="fail"> <err code="95" msg="SSL is required" /> </rsp>

      JSONP:

      jsonFlickrApi(

      Unknown macro: { "stat"}

      )

      JSON:

      Unknown macro: { "stat"}

      We realize that this change might be more difficult for some. We will follow the Developer Support Group closely, so please let us hear your questions.

      If you have a question about the API transition to SSL that you feel is unique to your situation or is more appropriate to handle via conversation directly with Flickr, send an email to flickr-api-help@yahoo-inc.com. We will monitor that mailbox through July 2014.

      Thank you for being a member of our API community,
      The Flickreenos

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                12/May/14