Docs for other versions: 2.6 / 2.5 / 2.4 / 2.3 / 2.2 / 2.1 / 2.0 / 1.9

Facebook package

From MoodleDocs
Jump to: navigation, search

This module uses Facebook connect to allow the following features:

  • Users to add associate their Facebook account with their Moodle account
  • Users to use their Facebook account to log into Moodle
  • Teachers to add a Facebook Live Stream Box as an activity in a course

Contents

Requirements:

Installation

  1. You will need to register your site with Facebook before you can use this module. Go to http://www.facebook.com/developers, add the application if you have not done so already, then create a new Facebook application. Each Connect website is treated as a Facebook application, and so it needs an API key.
    • Fill in these fields:
    • Application Name: this will be what your users will see when they connect to your site.
    • Terms of Service: Select Agree. The Developer Terms of Service govern among other things how you can use the information on your site. Pay particular attention to section G, Facebook Connect.
    • Connect URL: This is the root URL of your Moodle site.
    • Submit your application, and make note of your API key and Secret.
  2. Move the contents of the 'auth' directory to your Moodle 'auth' directory.
  3. Move the contents of the 'user' directory to your Moodle 'user' directory.
  4. Move the contents of the 'mod' directory to your Moodle 'mod' directory.
  5. Edit the header.html file in your themes directory and add facebook namespace to the HTML tag
  6. Go to your main Moodle admin page (Site Administration > Notifications)
  7. Go to (Modules > Activities > Manage Activities) and enable the 'Facebook Live Stream Box' by clicking on the 'eye' icon.
  8. Enter the Secret and API keys when prompted
  9. Go to (Modules > Activities > Manage Activities) and enable the 'Facebook Live Stream Box' by clicking on the 'eye' icon.
  10. Go to (Users > Accounts > User profile fields) and add a new 'Facebook' profile field.
  11. Give the profile field a Short name ("facebook" suggested), Name ("Facebook" suggested) and click 'Save Changes'
  12. Go to (Users > Authentication > Manage Authentication) and enable the 'Facebook' module by clicking on the 'eye' icon.

Assuming you don't run into any problems, you should be ready to go.

Future Development & reporting bugs

To report bugs or to request features, visit the |Moodle tracker and create a new issue

When reporting a bug/feature request ensure you select the following settings

  • Project: "Non-core contributed modules"
  • Issue type: <<You choose>>
  • Component/s: "Package: Facebook"

See also