facebook-comments-field.html.twig in Facebook Comments Social Plugin 8
<div id="fb-root"></div>
<script>(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) {return;}
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/{{ lang }}/all.js#xfbml=1";
fjs.parentNode.insertBefore(js, fjs);
}(document, "script", "facebook-jssdk"));</script>
<div class="fb-comments {{ class }}" data-href="{{ url }}" data-num-posts="{{ amount }}" data-width="{{ width }}" data-colorscheme="{{ style }}"></div>
File
templates/facebook-comments-field.html.twig
View source
- <div id="fb-root"></div>
- <script>(function(d, s, id) {
- var js, fjs = d.getElementsByTagName(s)[0];
- if (d.getElementById(id)) {return;}
- js = d.createElement(s); js.id = id;
- js.src = "//connect.facebook.net/{{ lang }}/all.js#xfbml=1";
- fjs.parentNode.insertBefore(js, fjs);
- }(document, "script", "facebook-jssdk"));</script>
- <div class="fb-comments {{ class }}" data-href="{{ url }}" data-num-posts="{{ amount }}" data-width="{{ width }}" data-colorscheme="{{ style }}"></div>