$category@ | formats | teaser | |||
---|---|---|---|---|---|
social |
|
|
Use the amp-facebook-comments
component to embed the Facebook comments plugin.
<amp-facebook-comments
width="486"
height="657"
layout="responsive"
data-numposts="5"
data-href="http://www.directlyrics.com/adele-25-complete-album-lyrics-news.html"
>
</amp-facebook-comments>
The URL of the comments page. For example,
http://www.directlyrics.com/adele-25-complete-album-lyrics-news.html
.
By default, the locale is set to user's system language; however, you can specify a locale as well.
For details on strings accepted here please visit the Facebook API Localization page.
The number of comments to show. Currently Facebook SDK limits this to max 100. For details, see the Facebook comments documentation.
The order to use when displaying comments. For details, see the Facebook comments documentation.
Define a title
attribute for the component to propagate to the underlying <iframe>
element. The default value is "Facebook comments"
.
This element includes common attributes extended to AMP components.
data-colorscheme
(optional)
The color scheme. For details, see the Facebook comments documentation.
Note: This is no longer supported by Facebook. For more details, follow our our tracking issue and Facebook's bug report.
See amp-facebook-comments rules in the AMP validator specification.