Course publish is a new plugin in the Moodle plugins database which allows you to publish a course link to a particular Facebook page.
After creating a course, add course publish block in course page and Click “Login with Facebook” link and the course link “<moodlepath>/course/view.php?id=?<course id>” is published in particular page.
Please note that you must create a facebook page and a facebook canvas app for this block.
Course publish plugin is available for Moodle 2.5 onwards upto 2.8 version. You can download the course publish block from this link: https://moodle.org/plugins/view/block_course_publish