Facebook is the greatest and biggest social networking site at the moment and Moodle has the largest user base as the learning platform of choice for education and professional training world wide. To begin to take advantage of Facebook on Moodle, there have been attempts at developing Facebook modules and plug-ins for Moodle in the past but nothing concrete.
What if adding Facebook widgets or buttons to Moodle is as easy as copying and pasting some lines of codes, similar to Add Twitter Widget to Moodle tutorial we just ran. So here we go again, in 5 easy steps on how to embed Facebook widget into Moodle (and WordPress).
1. Get your Social Plugin
Go to https://developers.facebook.com/docs/plugins/ and choose your Facebook social plugin to embed into Moodle. For this tutorial we will choose the Live Stream plug-in. Live Stream allows students to interact, share activities and comments during a live event such as a lecture or talk.
Live Stream allow students to interact, share activities and comments during a live event such as a lecture or talk.
On the Live Stream page, leave all settings as default except to tick the check box for Always post to friends at the bottom if so wish. You will see a preview of your Widget on the right.
You may increase the dimensions of the block if you want but generally 400 to 500 pixel width is recommended.
2. Click Get Code Button and Copy the Codes
Click Get Code button, a pop-up window will appear (as shown below) with two panes and three tabs. Use the HTML5 tab, this should be selected by default. Leave this window open and start another browser window. We will need the codes later.
3. Login to Moodle and Go to Your Course
In the new browser window, login to Moodle and go to the course you wish to add the Facebook Live Stream.
4. Turn Editing On and Paste Your Code
Click on the Turn Editing On button on the top right corner and click on the edit icon (hand holding a pen symbol) on one of the Topic Summary in the main course area.
Topic Summary is the region next to the topic number (or week number if weekly format is used) before the list of activities and resources for each topic section.
In the edit Topic Summary windows, switch to HTML mode by clicking on the <> button on the WYSIWYG editor’s top menu.
Go back to the previous browser window and copy and paste the Facebook codes, one on top of the other. Remember to copy the app ID from the bottom pane of the code pop-up and put this in place of APP_ID.
The placement of the app ID is highlighted in the screenshot above. Each app ID is unique and you must use the one provided in your code.
5. Click Save Changes and View Your Facebook Widget
This will bring up the course page, now click Turn Editing Off button.
The page will reload and you should see the Facebook Stream as shown in screenshot below.
Now, you may choose to add this to the side bar, in pretty much the same way using a HTML block but watch out for the width. You can change the width easily and grab the codes the same way, just remember to add the app ID.
WordPress: for WordPress copy and paste the codes into a Text Widget for the sidebar or similarly at the bottom of your article by switching over to HTML mode and pasting the codes there.
We also recommend the following plug-ins:
- Like button and Like box– most commonly used plugin to display stream from facebook page, users including those you might know that liked the page and the button to like the page. This is great for pushing traffic to the facebook page and is used widely by websites and blogs.
- Send button – in a social and education content, this is great for students to share your course with others. The plugin simply creates a sent button and all you do is paste the link to your course on the URL to Send field.
- Subscribe button – If you are an avid facebook user and would like others to subscribe to your public updates on facebook, here is a plugin to generate your very own subscribe to me button.
- Recommendations – This is a great social plugin allowing you as a teacher to personalise a list of facebook pages and suggest this to your students.
If you have used Facebook in your lesson with Moodle to engage students, we would like to hear from you.