Back to Facebook Components Support

dww51023248
dww51023248

I can't seem to get facebook comments to work. Can you provide a better example?

The only info posted doesn't explain enough.

Comments Alias → name to use for component integration URL → URL to comment on Width → 300 for 300px Number of posts Color Scheme light dark Css → Customize the component with a CSS class

Thanks in advance.

Algad
Algad

I know the documentation needs to be improved. I will try to do a video tutorial this week to cover the content of this facebook plugin. Have you tried to test the plugin with other components such as the like button ? Perhaps you need some settings in your template

   <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/{{YOUR_LANGUAGE}}/sdk.js#xfbml=1&version=v2.3";
  fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>

Check also in the properties of your component if the URL of the site is not empty.

https://github.com/Alexandre-Gadiou/OctoberCMS-Facebook

Last updated

1-2 of 2