Course publish

Blocks ::: block_course_publish
Maintained by DualCube Team
This plugin publishes a course link to a particular Facebook page.

Course publish v2.7-r4

Moodle 2.6, 2.7, 2.8, 2.9, 3.0, 3.1, 3.2, 3.3, 3.4, 3.5
Released: Monday, February 20, 2017, 3:33 PM

This plugin publishes a course link to a particular Facebook page.
After create a course admin can add course_publish block in course page.
Click "Login with Facebook" link and the course link "/course/view.php?id=?" is published in particular page.
Some setting is require for this Block to publish course link.
Setting Panel of block
App ID, Secret Key, Message, Caption, Picture, Pageaccesstoken, Pageid set by site admin.

Create a Facebook page

1. Go to
2. Click to choose a Page category.
3. Select a more specific category from the dropdown menu and fill out the required information.
4. Click Get Started and follow the on-screen instructions.

Facebook Application Setting

Step 1: Goto > Login with you facebook account >
Goto My Apps > Click Add a New app > Goto Facebook Canvas >
Insert name of App > Choose category > Click create app id > Goto your created app
Step 2: Goto 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 review > 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.

Admin can uninstall this admin tool from Site administration > Plugins > Blocks > Manage Blocks

To install, place all files in /blocks/course_publish and visit /admin/index.php in your browser.

This block is written by Sandipa Mukherjee Dualcube

Version information

Version build number
Version release name
Stable version
MD5 Sum
Supported software
Moodle 2.6, Moodle 2.7, Moodle 2.8, Moodle 2.9, Moodle 3.0, Moodle 3.1, Moodle 3.2, Moodle 3.3, Moodle 3.4, Moodle 3.5
  • Latest release for Moodle 2.6
  • Latest release for Moodle 2.7
  • Latest release for Moodle 2.8
  • Latest release for Moodle 2.9
  • Latest release for Moodle 3.0
  • Latest release for Moodle 3.1
  • Latest release for Moodle 3.2
  • Latest release for Moodle 3.3
  • Latest release for Moodle 3.4
  • Latest release for Moodle 3.5

Version control information

Version control system (VCS)
VCS repository URL

Default installation instructions for plugins of the type Blocks

  1. Make sure you have all the required versions.
  2. Download and unpack the block folder.
  3. Place the folder (eg "myblock") in the "blocks" subdirectory.
  4. Visit to complete the installation
  5. Turn editing on in any home or course page.
  6. Add the block to the page
  7. Visit the config link in the block for more options.