Facebook Comments Plugin

  • Tags: /
  • Latest: 1.0
  • Last Updated: 09 August 2013
  • Grails version: 1.3 > *
1 vote
Dependency:
compile ":facebook-comments:1.0"

 Documentation  Source  Issues

Summary

Easy Facebook Comments Integration

Installation

grails install-plugin facebook-comments

Description

Configuration

Following configuration options are available.
  • grails.plugin.facebookcomments.appId
  • grails.plugin.facebookcomments.width
  • grails.plugin.facebookcomments.colorscheme
  • grails.plugin.facebookcomments.num_posts
  • grails.plugin.facebookcomments.mobile
  • grails.plugin.facebookcomments.href = { bean -> }
All of the config options are optional. See facebook documentation for details about possible values.

Usage

Follow this steps for integration

Step 1: Put <fb:initFbCommentsJS appId="your app id" /> right after opening <body> tag. It will initialize facebook comments js sdk. appId parameter is optional and if not specified it will be picked up from config.

step 2: put <fb:comments width="" colorscheme="", num_posts="" mobile="" href="http://example.com"/> in the page where you want comments to be displayed. Again all of the parameters are optional and if not specified they will be picked up from config.

Note: Replace href with the url that you want to associate this comment box with. Read facebook docs for further details

Further docs can be found on GitHub

Changelog

1.0 - 08/10/2013
  • Initial release