I am trying to add a facebook share to a page. My problem is with several sharing buttons, it works well at first, but others do not appear on the page. Note, the first sharing button is visible, but the others are in the container with the display: none css is not applied.
I have this code at the top of the page (I changed the facebook app id to FacebookAppID):
<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/es_ES/all.js#xfbml=1&appId=FacebookAppID"; fjs.parentNode.insertBefore(js, fjs); }(document, 'script', 'facebook-jssdk'));</script>
This is each section of the div on the page:
<div class="fb-share-button" data-href="@url" data-type="button_count" data-width="450"></div>
This issue can be reproduced in IE.
thanks
facebook-social-plugins
Daniel
source share