Flickr repository

Repositories

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.


Contents


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:


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. Choose "Apply for a Non-commercial Key"
  2. 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)
  3. Tick the two boxes to show your agreement to Flickr's terms of use and then click submit.
  4. We will now have the key and secret for the new app. Copy and paste these into the fields in your Moodle Flickr configuration page.
  5. Click save on the Moodle Flickr configuration page.
  6. Revisit the settings of your Flickr repository in Moodle and copy the callback URL from that page.
  7. Revisit your Flickr App page and click on the "Edit Auth Flow for this App" link
  8. Paste the URL from your Moodle page into the Callback URL field on your Flickr App
  9. 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