I just added the Facebook Submit plugin on my site. Everything worked perfectly, but after the Facebook submit button sometimes disappeared. When the page reloads, the submit button appears again.
Here is my code:
<div id="fb-root"></div> <div class="fb-send" data-href="http://www.google.com" ></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/en_US/all.js#xfbml=1&appId=519408*********"; fjs.parentNode.insertBefore(js, fjs); }(document, 'script', 'facebook-jssdk')); </script>
There is another problem with the Facebook upload plugin, the height and width of automatically generated tags is 1000 pixels. If I navigate the elements, this code will appear.
Here is my code:
<iframe name="f3ff0f29fc" width="1000px" height="1000px" frameborder="0" allowtransparency="true" scrolling="no" title="fb:send Facebook Social Plugin" src="" style="border: none; visibility: visible; width: 0px; height: 0px;"></iframe>
Does anyone know what the problem is?
source share