Blocks: Course publish
This plugin publishes a course link to a particular Facebook page. After creating a course, add
course_publish block in course page. Click "Login with Facebook" link and the course link "
<moodlepath>/course/view.php?id=?<course id>" is published in particular page.
Some setting is required for this Block to publish course link.
Setting Panel of block
App ID, Secret Key, Message, Caption, Picture, Pageaccesstoken, Pageid is set by site admin.
Create a Facebook page
1. Go to facebook.com/pages/create.
2. Click to choose a Page category.
3. Select a more specific category from the drop down menu and fill out the required
4. Click “Get Started” and follow the on-screen instructions.
Facebook Application Setting
Step 1: Go to https://developers.facebook.com/ > Login with you Facebook account > Go to
My Apps > Click Add a New app > Go to Facebook Canvas > Insert name of App > Choose
category > Click create app id > Go to your created app
Step 2: Go to settings > Enter Namespace > Enter App Domains > Enter Contact Email > Click add platform > Select website > Enter Site URL > Save changes.
Step 3: Go to Status and change > Make this app visible to all.
Graph API Explorer Setting
Go to Tool & Support > Click on graph API Explorer > Select your app name from drop down
list of graph API explorer > Copy Access token and paste it to "pageaccesstoken" field in block
course_publish configuration page.