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

Flickr public repository: Difference between revisions

From MoodleDocs
(repository capabilities)
(updating screenshots for 2.3→‎Setting up a Flickr API)
 
Line 13: Line 13:
===Setting up a Flickr API===
===Setting up a Flickr API===
To get your API Key you need to create an App inside your Flickr account. Visit [http://www.flickr.com/services/api/keys/ this link] to start creating your own API Key.
To get your API Key you need to create an App inside your Flickr account. Visit [http://www.flickr.com/services/api/keys/ this link] to start creating your own API Key.
#Click the "Get Another Key" button to start creating your App. [[Image:get-another-key.png]]
#Click the "Get Another Key" button to start creating your App.  
 
[[Image:get-another-key.png]]
 
#Choose "Apply for a Non-commercial Key"
#Choose "Apply for a Non-commercial Key"
#Enter a title and brief description for the App (i.e. Moodle to Flickr Access - App to allow Moodle to access Flickr through it's repository API)
#Enter a title and brief description for the App (i.e. Moodle to Flickr Access - App to allow Moodle to access Flickr through it's repository API)
Line 21: Line 24:
#Click "Save Changes"
#Click "Save Changes"


You should now have a working Flickr public repository. Try adding a file from Flickr as a resource in Moodle to test it!
You should now have a working Flickr public repository. From the [[File picker]], click Flickr public and enter your required search term. Images will appear for you to select from:
{|
| [[File:flickrsearch23.png|thumb|Searching Flickr public]]
| [[File:flickrpublic23.png|thumb|The search results]]
|}


==Repository capabilities==
==Repository capabilities==

Latest revision as of 19:08, 24 June 2012

The Flickr public repository enables a user to search Flickr and copy files from there into any of the Moodle file interfaces.

Flickr public repository setup

Location: Settings > Site administration > Modules > Repositories > Manage repositories

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

To set this repository up you need to set the following field:

  • API Key

Setting up a Flickr API

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

  1. Click the "Get Another Key" button to start creating your App.

get-another-key.png

  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 it's repository API)
  3. Tick the two boxes to show your agreement to Flickr's terms of use and then click submit.
  4. You will now have the key for the new app. Copy and paste this into the field in your Moodle Flickr public configuration page.
  5. Click save on the Moodle Flickr public configuration page.
  6. Click "Save Changes"

You should now have a working Flickr public repository. From the File picker, click Flickr public and enter your required search term. Images will appear for you to select from:

Searching Flickr public
The search results

Repository capabilities

There is just one capability, Use Flickr public repository in file picker, which is allowed for the default authenticated user role.

See also