Note: You are currently viewing documentation for Moodle 3.9. Up-to-date documentation for the latest stable version of Moodle may be available here: Flickr repository.

Flickr repository

From MoodleDocs

The Flickr repository enables a user to log into their Flickr account and copy files from their account into any of the Moodle file interfaces.

Flickr repository setup

Location: Administration > Site administration > Plugins > Repositories > Manage repositories

This page lets a site administrator configure access to a Flickr repository.

To set this repository up you need to set the following two fields:

  • API Key
  • Secret

Setting up a Flickr API

To get your API Key and Secret you need to create an App inside your Flickr account. Visit this link to start creating your own API Key and secret.

  1. Click the "Get Another Key" button to start creating your App. get-another-key.png
  2. Choose "Apply for a Non-commercial Key"
  3. Enter a title and brief description for the App (i.e. Moodle to Flickr Access - App to allow Moodle to access Flickr through its repository API)
  4. Tick the two boxes to show your agreement to Flickr's terms of use and then click submit.
  5. You will now have the key and secret for the new app. Copy and paste these into the fields in your Moodle Flickr configuration page.
  6. Click save on the Moodle Flickr configuration page.
  7. Revisit the settings of your Flickr repository in Moodle and copy the callback URL from that page.
  8. Revisit your Flickr App page and click on the "Edit Auth Flow for this App" link
  9. Paste the URL from your Moodle page into the Callback URL field on your Flickr App
  10. Click "Save Changes"

You should now have a working Flickr repository. Try adding a file from your Flickr account as a resource in Moodle to test it!

Repository capabilities

There is just one capability, View Flickr repository, which is allowed for the default authenticated user role.

See also