Easy-to-follow video tutorials help you learn software, creative, and business skills.Become a member
Let's go ahead and set up the Flickr repository. To do this, make sure you've logged out of your Moodle server and then click the Login button in the upper right-hand corner and log in as the Admin account. If you're following along, this should be admin and the password should be 12345. Hit the Login button and then go ahead and scroll down in the left-hand side of the Settings block. Click on Site administration, scroll down again, click on Plugins, find the Repositories link, scroll down again, and click on Manage repositories.
Now we can go ahead and scroll down in the list of repositories until you find the section where you have the Flickr repositories. Now you notice there are two: there's Flickr and Flickr public. We are going to configure the one that's just called Flickr, and it's going to allow you to tie a personal Flickr account directly to your Moodle account, so you can access the files in that repository. The public one would allow you access the public Flickr site to be a link in files, but we're not going to go ahead and configure that one right now; we are going to configure the Flickr one.
So go ahead and hit the dropdown menu for Disabled and change it to Enabled and visible. This will bring up the Flickr configuration screen for repositories. Again, we're going to need to have an API key, and we're going to have a secret, and there will be another step after we add these in. Let's go ahead and get those set up for right now though. Go ahead and press Command+T, or Ctrl+T, on your keyboard to open up a new tab in your browser and then go to www.flickr.com. If you don't have a Flickr account already, go ahead and click the Sign up now button that should be located on the main page.
You can either sign in with a Yahoo! account, your Google account, or your Facebook account. I already have an account that's already been set up, so I'll simply hit the Sign in link that's up here in the top. It's going to ask me to go ahead and sign in with my account. I've signed in with my Google account, so I'll click on Google. I'll type in my Google account information, email@example.com. I'll type in my Google password and then click on the Sign in button.
Now, it takes me to my main Google page. I can access my photostream by clicking here on Your Photostream. You can always get to my photostream by going to www.flickr.com/photos/chrismattia. Now, what we want to do though is we want to access the API key information. So, you want to find the You menu and click the dropdown menu. In the list, you should find a link called Your Apps. Go ahead and click on Your Apps in the dropdown menu, and this is where we can go in and we can set up an API key.
On the right-hand side, you should be able to find a button that says Get Another Key. Go ahead and click on that button, and it's going to ask you, is this going to be key for a non-commercial site or for commercial purposes. In this case, we're going to use the non-commercial key, because we're just setting up a testing server for right now. Go ahead click on the APPLY FOR A NON- COMMERCIAL KEY button and now it's going to ask us a little bit of information about our app. What's the name of our app? In this case, I am going to go ahead and just type in "Moodle Essential Training for Teachers." In the Description is what I'm building.
To complete the next step of setting up this key inside of our course, go ahead and select the entire key and press Command+C, or Ctrl+C, on your keyboard to copy all of that text to clipboard. And then we'll jump back over for Moodle site in the tabs and come down to the API key, click in there, and hit Command+V, or Ctrl+V, to paste that in. Next, let's go get the secret. Go back to our tab with Flickr, select the secret, press Command+C, or Ctrl+C, to copy it, go back to our Moodle course, click into the secret field, press Command+V, or Ctrl+V, to paste that key in, hit the Save button, and we're taken back to the Manage repositories page.
Scroll down on the left-hand side and underneath of the Repositories heading you should find a link for Flickr. Go ahead and click on that link for Flickr to go back into the Flickr configuration. On the second line you should see a link that says, Make sure that you set the Callback URL for this Flickr key to, and it's going to have a long URL. Go ahead and select that whole URL and copy it to your clipboard by using Command+C, or Ctrl+C, to copy it.
Now go back to the Flickr tab and underneath of the secret you should find three links: one for Edit app details, one for Edit author flow for this app, and View all Apps by you. Click on the link for Edit auth flow for this app. We need to add another description for our app right here. We will call this--. For App Type, go ahead and select web Application, and in the Callback URL go ahead and paste, by pressing Command+V or Ctrl+V, the callback URL that we just copied from inside of our Moodle course.
We don't need to worry about an App Logo, although if you have you would like to use, you can go ahead browse and upload that here. Go ahead and click the SAVE CHANGES button at the bottom and our API should be all set up now. Go ahead and go back over to your Moodle tab and click the Save button one more time to make sure that those settings have been properly saved. Now, go back to the Home link in your breadcrumbs and then go up to the upper right-hand corner of your screen and click the Logout button. In the next movie, we will log in as our regular user account and test this API and see that it worked properly.
Get unlimited access to all courses for just $25/month.Become a member
82 Video lessons · 91069 Viewers
80 Video lessons · 138146 Viewers
59 Video lessons · 56954 Viewers
52 Video lessons · 70583 Viewers
Access exercise files from a button right under the course name.
Search within course videos and transcripts, and jump right to the results.
Remove icons showing you already watched videos if you want to start over.
Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.
Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.