Like Box
The Like Box is a special version of the Like Button designed only for Facebook Pages. It allows admins to promote their Pages and embed a simple feed of content from a Page into other sites.
Settings
The configurator above doesn't include all of the possible settings for your Like box. You can also change the following settings:
Setting | HTML5 Attribute | Description | Default |
---|---|---|---|
colorscheme | data-colorscheme | The color scheme used by the plugin. Can be "light" or "dark". | light |
force_wall | data-force-wall | For "place" Pages (Pages that have a physical location that can be used with check-ins), this specifies whether the stream contains posts by the Page or just check-ins from friends. | false |
header | data-header | Specifies whether to display the Facebook header at the top of the plugin. | true |
height | data-height | The height of the plugin in pixels. The default height varies based on number of faces to display, and whether the stream is displayed. With stream set to true and 10 photos displayed (via show_faces ) the default height is 556px. With stream and show_faces both false, the default height is 63px. | Varies, see left. |
href | data-href | The absolute URL of the Facebook Page that will be liked. This is a required setting. | None |
show_border | data-show-border | Specifies whether or not to show a border around the plugin. | true |
show_faces | data-show-faces | Specifies whether to display profile photos of people who like the page. | true |
stream | data-stream | Specifies whether to display a stream of the latest posts by the Page. | true |
width | data-width | The width of the plugin in pixels. Minimum is292 . | 300 |
FAQ
Can I use the regular Like Button with my Facebook Page
Yes. This can be useful if you need a more compact layout than the Like Box can provide.
How can I allow people to like my webpages?
This Like Box is designed only for use with Facebook Pages. For any other purposes you should use the Like Button
How do I know when someone clicked on a Like button on my site?
The XFBML and HTML5 versions of the button allow you to subscribe to the 'edge.create' event in the Facebook SDK for JavaScript through FB.Event.subscribe. This JavaScript event will fire any time a button is clicked.
No comments:
Post a Comment