Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9233615
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T06:35:48+00:00 2026-06-18T06:35:48+00:00

I have the problem that my facebook app page doesn’t resize the height. I

  • 0

I have the problem that my facebook app page doesn’t resize the height. I know there are a lot of questions from people that have similar problems. But I’ve tried setting FB.Canvas.setSize(), FB.Canvas.setAutoGrow() and a function that “should” resize the canvas page each 2 seconds and nothing works.

EDIT

I now tried it with a minimal code that should work (as fas as I understand it) but it don’t.

Here is the code:

<!DOCTYPE html>
<html lang="en">
    <head>
        <title>Test</title>
        <style type="text/css">body { overflow: hidden; }</style>
    </head>
    <body>
        <div id="fb-root"></div>
        <script type="text/javascript" src="https://connect.facebook.net/en_US/all.js"></script> 
        <script type="text/javascript">
            window.fbAsyncInit = function() {
                FB.init({
                    appId: "xxxxxxxxxxxx",
                    cookie: true
                });
            };
            window.onload = function() {
                FB.Canvas.setAutoGrow(100);
            }
        </script>
        <div style="height: 1000px; width: 20px; background-color: #006;"></div>
        <div>End</div>
    </body>
</html>

Here is a screenshot of the app settings:

enter image description here

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T06:35:49+00:00Added an answer on June 18, 2026 at 6:35 am

    I could solve this issue and this are the changes I mage:

    • Removing the script tag that loads the facebook lib.
    • Adding the JS code to load the facebook lib.
    • Moving this code right below the starting body tag.

    I don’t know whether all of those steps are necessary.

    Here is the code that works:

    <!DOCTYPE html>
    <html lang="en">
        <head>
            <title>Test</title>
            <style type="text/css">body { overflow: hidden; }</style>
        </head>
        <body>
            <div id="fb-root"></div>
            <script>
                window.fbAsyncInit = function() {
                    FB.init({
                        appId: "xxxxxxx",
                        status : true,
                        cookie: true
                    });
                    FB.Canvas.setAutoGrow();
                };
    
                (function(d, debug){
                    var js, id = 'facebook-jssdk', ref = d.getElementsByTagName('script')[0];
                    if (d.getElementById(id)) {return;}
                    js = d.createElement('script'); js.id = id; js.async = true;
                    js.src = "//connect.facebook.net/en_US/all" + (debug ? "/debug" : "") + ".js";
                    ref.parentNode.insertBefore(js, ref);
                }(document, /*debug*/ true));
            </script>
            <!-- page content -->
        </body>
    </html>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

There is a problem with Facebook applications/page tabs and Chrome/Internet Explorer users that have
I have a little web app that uses the Facebook like widget. This page
I have an app that includes displaying some photos from a user's Facebook account.
I have a facebook app run inside an iframe. The problem is that if
I have a facebook app. Problem is that it does not load in IE9
I have a voting app built on PHP that takes Facebook logins (uses PHP
I have a facebook app to post on my fan page, it works perfectly.
There is some unknown problem with my facebook app running on heroku Problem is
I have a page that links to my app. and this page has an
some of the questions i have read http://facebook.stackoverflow.com/questions/1927676/scraping-a-facebook-app-for-data http://facebook.stackoverflow.com/questions/2028940/access-to-facebook-data I want to create a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.