Streaming live at 10am (PST)

How to add FB social share icon?


How to add social share icon?

When i embeded this code (with the embed block) i get JS errors


Hey @Siton_Systems,

Put this code in the head of your page

<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); = id;
  js.src = "//";
  fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>

And this code in an embeded

<div class="fb-share-button" data-href="" data-layout="button_count" data-size="small" data-mobile-iframe="true"><a class="fb-xfbml-parse-ignore" target="_blank" href=";src=sdkpreparse">Partager</a></div>

Hope this helps


Thanks. I hope in the future Webflow will add Share block beacuse “by code” sometimes the FB could change.