Back to home

Embedded Posts (class exported as FBPostComponent)

Embedded Posts are a simple way to put public posts - by a Page or a person on Facebook - into the content of your web site or web page. Only public posts from Facebook Pages and profiles can be embedded.

Official Facebook documentation for this class can be found here.

link Usage
<fb-post href="https://www.facebook.com/20531316728/posts/10154009990506729/"></fb-post>
link Inputs link href (string)

The absolute URL of the post.


link width (string)

The width of the post. Min. 350 pixel; Max. 750 pixel. Set to auto to use fluid width. Defaults to auto.


link showText (boolean)

Applied to photo post. Set to true to include the text from the Facebook post, if any. Defaults to false.