On the iPad, the Facebook comment field is automatically set to 590 pixels high. The initial view is just a login button, so it is too large. I canβt set the height in css, because as soon as they log in, the content area will be too small, and fb will not set classes to which I could connect in these conditions.
I have:
<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=00000000"; fjs.parentNode.insertBefore(js, fjs); }(document, 'script', 'facebook-jssdk')); </script>
And inside the content area:
<div id="fb_comments"> <fb:comments href="<?php the_permalink(); ?>" num_posts="10" width="500"> </fb:comments> </div>

source share