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 7628291
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T05:34:30+00:00 2026-05-31T05:34:30+00:00

The Facebook API doesn’t work in Opera: FB.Canvas.setSize – not change a canvas size.

  • 0

The Facebook API doesn’t work in Opera:
FB.Canvas.setSize – not change a canvas size.
FB.Canvas.getPageInfo – does not call callback function.

To reproduce:
Open http://apps.facebook.com/operafbbug/ in Opera and, to compare, in Chrome (or Firefox, IE)

Expected Behavior:
The Canvas height will changed to 1100, excepting Opera
When the FB.Canvas.getPageInfo function is called and returns data, this page will show alert ‘info’. You will see this alert in all browsers, excepting Opera, again.

Bug in facebook bug tracker:
http://developers.facebook.com/bugs/188820761219553

  • 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-05-31T05:34:31+00:00Added an answer on May 31, 2026 at 5:34 am

    Quoting myself from the FB bug tracker: Opera fires an asynchronous load event for about:blank which results in the canvas_proxy IFRAME being prematurely removed. Opera starts running into this because of hiding document.attachEvent to avoid another, related problem caused by the IE branch of the script ( https://github.com/operasoftware/browserjs/issues/1 ).

    As for workarounds, doing

    document.attachEvent=function(){}
    

    before embedding the Facebook script should work as a workaround, but is very ugly and probably won’t keep working in the future. This needs to be fixed by Facebook (by ignoring the problematic load event and not remove the IFRAME until it knows the real target content loaded) or by Opera (by figuring out what race condition or timing gotcha makes Opera fire an unexpected load event even though the IFRAME is being navigated to some other URL).

    Opera should probably add a temporary workaround to browser.js too. You should probably ignore this issue altogether and hold off testing with Opera until Opera and/or Facebook sorts it out.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I know you cant do that with the Facebook API. Does OpenSocial allow me
Does their API allow my Facebook-connected user to add a friend?
http://developers.facebook.com/docs/reference/api/post/ doesn't seem to give a clue about it. Would Install(ed) be an action?
According to the Facebook API documentation, most of the work is handled through javascript.
I have a JavaScript function that I use to call the Facebook API and
When I log into Facebook with my account and call the Graph API with
Does the Facebook API return the UNIQUE ID of photos I upload to FB
Facebook API: How to let the php knows whether the user is a fan
Using the Facebook API, is there a way of getting a friend's phone/cell number?
I'm using the Facebook API and the class produces this object. object(User)#4 (5) {

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.