admin/repository/flickr: Difference between revisions
From MoodleDocs
mNo edit summary |
mNo edit summary |
||
Line 21: | Line 21: | ||
You should now have a working Flickr repository. Try adding a file from your Flickr account as a resource in Moodle to test it! | You should now have a working Flickr repository. Try adding a file from your Flickr account as a resource in Moodle to test it! | ||
[[Category:Repositories]] |
Revision as of 21:25, 20 March 2010
Flickr Configuration
This page lets you configure access to a Flickr repository. It will allow a user to log into their Flickr account and copy files from their account into any of the Moodle file interfaces.
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.
- Click the "Get Another Key" button to start creating your App.
- 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)
- Tick the two boxes to show your agreement to Flickr's terms of use and then click submit.
- 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.
- Click save on the Moodle Flickr configuration page.
- Revisit the settings of your Flickr repository in Moodle and copy the callback URL from that page.
- Revisit your Flickr App page and click on the "Edit Auth Flow for this App" link
- Paste the URL from your Moodle page into the Callback URL field on your Flickr App
- 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!