Description Embeds the Facebook page plugin.
Required Script <script async custom-element="amp-facebook-page" src=""></script>
Supported Layouts fill, fixed, fixed-height, flex-item, nodisplay, responsive
Examples See AMP By Example's amp-facebook-page example.


You can use the amp-facebook-page component to embed the Facebook page plugin.


<amp-facebook-page width="340" height="130"


data-href (required) The absolute URL of the Facebook page. For example,
data-locale (optional) By default, the locale is set to the user's system language; however, you can specify a locale as well. For details, visit the Facebook API Localization page.
data-tabs (optional) Specifies the tabs to render (i.e., timeline, events, messages). Use a comma-separated list to add multiple tabs (e.g., timeline, events). By default, the Facebook page plugin shows the timeline activity.
data-hide-cover (optional) Hides the cover photo in the header. Default value is false.
data-show-facepile (optional) Shows profile photos of friends who like the page. Default value is true.
data-hide-cta (optional) Hides the custom call to action button (if available). Default value is false.
data-small-header (optional) Uses the small header instead. Default value is false.
common attributes This element includes common attributes extended to AMP components.


See amp-facebook-page rules in the AMP validator specification.