Back to home

Page Plugin (class exported as FBPageComponent)

The Page plugin lets you easily embed and promote any Facebook Page on your website. Just like on Facebook, your visitors can like and share the Page without leaving your site.

Official Facebook documentation for this class can be found here.

link Usage
<fb-page href="https://facebook.com/facebook"></fb-page>
link Inputs link href (string)

The URL of the Facebook Page


link width (number)

The pixel width of the plugin. Min. is 180 & Max. is 500. Defaults to 340.


link height (number)

The pixel height of the plugin. Min. is 70. Defaults to 500.


link tabs (string)

Tabs to render i.e. timeline, events, messages. Use a comma-separated list to add multiple tabs, i.e. timeline, events. Defaults to timeline.


link hideCover (boolean)

Hide cover photo in the header. Defaults to false.


link showFacepile (boolean)

Show profile photos when friends like this. Defaults to true.


link hideCTA (boolean)

Hide the custom call to action button (if available). Default to false.


link smallHeader (boolean)

Use the small header instead. Defaults to false.


link adaptContainerWidth (boolean)

Try to fit inside the container width. Defaults to true.