Show likes and posts from your Facebook Page and allow likes right on your website with Facebook Like Box
Composite.Community.Facebook.LikeBox adds the Facebook Like Box to a page on your website. The Like Box presents recent posts from the Facebook Page, displays how many users and which of the friends liked the Page and allows likes in place without visiting the Page.
For more information on the Like Box, please read http://developers.facebook.com/docs/reference/plugins/like-box/.
How to implement
- Edit a page.
- Add the
Composite.Community.Facebook.LikeBox function (
Insert >
Function) or insert the similar code on the page:
<f:function name="Composite.Community.Facebook.LikeBox" xmlns:f="http://www.composite.net/ns/function/1.0"> <f:param name="URL" value="http://www.facebook.com/CompositeC1" /> <f:param name="Width" value="300" /> <f:param name="ShowFaces" value="True" /> <f:param name="Stream" value="True" /> <f:param name="Header" value="True" /> <f:param name="ColorScheme" value="light" /> <f:param name="BorderColor" value="#FFFFFF" /> <f:param name="ForceWall" value="False" /> </f:function>
- Specify the Page URL in the Facebook Page URL parameter.
- If necessary, set its optional parameters:
- Width: The width of the Like Box, in pixels (300 by default).
- ShowFaces: If 'true', it displays profile photos in the Lie Box ('true' by default).
- Stream: If 'true', it displays a stream of the latest posts from the Page's wall ('true' by default).
- ShowHeader: If 'true', it displays the Facebook header at the top of the Like Box ('true' by default).
- ColorScheme: The color scheme for the Like Box. Options: 'light' (default), 'dark'.
- BorderColor: The border color of the Like Box. Accepts values such as "#FFFFFF" and "red".
- ForceWall: For Places, if 'true', the stream contains posts from the Place's wall; otherwise, just checkins from friends ('false' by default).
Requirements
Composite C1 version 2.1.1 or later