Let visitors comment on your website and share them with their Facebook friends
Composite.Community.Facebook.Comments adds the Facebook's Comments Box, a social plugin that enables people visiting your website to comment on the pages. For more information on the Comment Box, please read http://developers.facebook.com/docs/reference/plugins/comments/.
How to implement
- Edit a page.
- Add the
Composite.Community.Facebook.Comments function (
Insert >
Function) or insert the similar code on the page:
<f:function name="Composite.Community.Facebook.Comments" xmlns:f="http://www.composite.net/ns/function/1.0"> <f:param name="URL" value="(specific URL if necessary)" /> <f:param name="Width" value="500" /> <f:param name="NumPosts" value="10" /> <f:param name="ColorScheme" value="light" /> <f:param name="ModeratorIDs" value="100002519440680" /> <f:param name="AppID" value="100002519440653" /> </f:function>
- If necessary, set its optional parameters:
- URL: The URL of the page with this Comments plugin. The News Feed stories on Facebook will link to this URL. If not specified, it defaults to the current page.
- Width: The width of the plugin, in pixels (500 by default). Recommended minimum: 400px.
- NumPosts: The number of comments to display (10 by default).
- ColorScheme: The color scheme for the plugin. Options: 'light', 'dark'. Default is 'light'.
- ModeratorIDs: To moderate, you need to list yourself as an admin. Specify your Facebook user ID. To add multiple moderators, separate the IDs by comma without spaces.
- AppID: Your application ID as the admin, with which you can moderate all your plugins at http://developers.facebook.com/tools/comments
Important Notes
- Composite.Community.Facebook.Comments is current culture sensitive. The language of the plugin' s text depends on the current website's culture.
Requirements
Composite C1 version 2.1.1 or later