Flickr repository: Difference between revisions

From MoodleDocs
No edit summary
No edit summary
 
(15 intermediate revisions by 9 users not shown)
Line 1: Line 1:
{{Moodle 2.0}}Location: ''Administration > Modules > Repositories > Manage repositories''
{{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.


[[Category:Repositories]]
==Flickr repository setup==


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


# Get Flickr API Key and Secret for your Moodle site.
This page lets a site administrator configure access to a Flickr repository.
# Your callback URL is generated once you added the plugin. Go to the plugin Settings, and copy your callback url.
 
# Edit your Flickr key details and paste the callback URL inside.
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 [http://www.flickr.com/services/api/keys/ this link] to start creating your own API Key and secret.
#Click the "Get Another Key" button to start creating your App. [[Image:get-another-key.png]]
#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 its 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!
 
==Repository capabilities==
 
There is just one capability, [[Capabilities/repository/flickr:view|View Flickr repository]], which is allowed for the default authenticated user role.
 
==See also==
 
*[[Flickr public repository]]
* MDL-59645 - Flickr authentication flow stopped working - fixed in Moodle 3.3.3 onwards
 
[[Category:Site administration]]
 
[[eu:Flickr ezarpenak]]
[[de:Flickr Repository]]
[[es:Repositorio Flickr]]
[[fr:Flickr]]

Latest revision as of 15:40, 27 May 2019

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