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, 20 February 2017, 3:33 PM
Overview

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.
Using
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 facebook.com/pages/create.
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 https://developers.facebook.com/ > 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.
Uninstall

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
2015040606
Version release name
v2.7-r4
Maturity
Stable version
MD5 Sum
84914feffb1a6b913047d08f45095c88
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

Version control information

Version control system (VCS)
Other...
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 http://yoursite.com/admin 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.