burnbright/silverstripe-facebook-likebox

Add a facebook likebox/feed to your SilverStripe site using a shortcode or widget.

Installs: 1 358

Dependents: 1

Suggesters: 0

Security: 0

Stars: 3

Watchers: 4

Forks: 3

Open Issues: 1

Type:silverstripe-module

dev-master 2016-02-21 00:37 UTC

This package is auto-updated.

Last update: 2024-10-24 18:55:17 UTC


README

Provides a shortcode, and a widget for adding the facebook likebox/stream to your site, using the facebook page plugin.

Usage

To use the shortcode or widget, you'll first need to create a facebook app and include the facebook javascript SDK on your site.

Add the [FacebookFeed] shortcode to your content, with any of the following parameters:

	[FacebookFeed Href=http://www.facebook.com/silverstripe stream=true Height=1000 Width=500 AdaptContainerWidth=true ShowPagePosts=true ShowFaces=true HideCoverPhoto=true UseSmallHeader=true]

The only main requirement is setting the href value to your facebook page. Default heights are provided if you enable/disable the header, or show_faces.

Widget

The widget will only work if you have included the widget module.

Troubleshooting

Some likebox featuers won't show up if the chosen height is too short.

Resources

https://developers.facebook.com/docs/plugins/page-plugin