$category@ | formats | teaser | |||
---|---|---|---|---|---|
social |
|
|
Use the amp-facebook-page
component to embed the Facebook page plugin.
<amp-facebook-page
width="340"
height="130"
layout="fixed"
data-hide-cover="true"
data-href="https://www.facebook.com/imdb/"
>
</amp-facebook-page>
The absolute URL of the Facebook page. For example,
https://www.facebook.com/imdb/
.
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.
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.
Hides the cover photo in the header. Default value is false
.
Shows profile photos of friends who like the page. Default value is true
.
Hides the custom call to action button (if available). Default value is false
.
Uses the small header instead. Default value is false
.
Define a title
attribute for the component to propagate to the underlying <iframe>
element. The default value is "Facebook page"
.
This element includes common attributes extended to AMP components.
See amp-facebook-page rules in the AMP validator specification.