Facebook iframe issues

Out of context: Reply #2

  • Started
  • Last post
  • 13 Responses
  • keiTai0

    you should resize your app put this before your </body>

    <script type="text/javascript">
    window.fbAsyncInit = function() {
    FB.init({appId: 'your-appid', status: true, cookie: true, xfbml: true});
    window.setTimeout(function() {
    FB.Canvas.setAutoResize();
    }, 200);
    };
    (function() {
    var e = document.createElement('script... e.async = true;
    e.src = document.location.protocol + '//connect.facebook.net/en_US/al...
    document.getElementById('fb-root...
    }());
    </script>

View thread