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

  • SEARCH
  • Home
  • 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 7790359
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T21:33:36+00:00 2026-06-01T21:33:36+00:00

Since the update to timeline, my resize scripts stopped working on facebook. This is

  • 0

Since the update to timeline, my resize scripts stopped working on facebook.
This is my code:

CSS:

html {

margin:0;
padding:0;
height:1500px;
}

body {
width:520px;
padding:0;
margin:0;
height:1500px;
font-family:Arial, Helvetica, sans-serif;
font-size:12px;
color:#555859;
}

In the body:

<div id="fb-root"></div>
<script type="text/javascript" src="https://connect.facebook.net/en_US/all.js"></script>

In the footer:

<script type="text/javascript">
FB.Canvas.setSize({ width: 520, height: 1500 });
window.fbAsyncInit = function () {
FB.Canvas.setAutoGrow();
}
</script>

In the app, I’ve set the Canvas Height to fluid.

Am I missing something important? Is there a better way?

  • 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-01T21:33:38+00:00Added an answer on June 1, 2026 at 9:33 pm

    Try modifying the code like this:

    window.fbAsyncInit = function () {  
        FB._https = (window.location.protocol == "https:");             
        FB.init({
            appId : 'YOUR_APP_ID',
            status : true,
            cookie : true,
            xfbml : true
        });
        FB.Canvas.setAutoGrow();
    
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

UPDATE: Facebook's API has changed a lot since this question was posted. This question
UPDATE : Since this question is getting some views, I figured I'd better highlight
UPDATE 1/31/10 : Since this thread continues to get a lot of views...I am
Update: Since this is unanswered, I'm changing the question slightly. Comments on the post
Important Update Since the release of MVC 2.0 Preview 1 this feature has been
Since recent update Xcode 4.3 now seems to default to LLDB debugger. I just
Since the configuration manager and update manager for eclipse 3.2 is devoid of nice
my friend mentioned to me that since i was only using update panels on
I seem to have a tricky problem since the latest ADT update to release
I few days ago I update my macbook pro to snow leopard, and since

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.