was just trying to set up a canvas page for our app. Got empty scrollbars. Tried with a URL that's working in another app to see if theres something wrong with my iframed page. Empty scrollbars again. What setting would I have to change? Professor Google only told me about deprecated options for canvas settings.
This is my canvas page showing scrollbars:
http://apps.facebook.com/canvasscrollbars/
This is the canvas page I copied the iframed page from - no scrollbars here!
http://apps.facebook.com/tabpress
EDIT: Problem as described in Firefox, IE shows only vertical scrollbar. Safari and Chrome working fine and showing no scrollbars as desired.
Go to "Advanced settings" of your Facebook app, then find "Canvas Settings" section and change "Canvas Height" to "Settable (Default: 800px)".
In my case this fixed scrollbar problem.
Related
I am building a Facebook Page Tab. It links to a website that is being loaded into Facebook as an iFrame, following strictly along the lines of developing Facebook page tabs.
I notice though, on Facebook Stories (a tab from the Facebook fan page) they have a border around the loaded iframe.
It does not appear at the original source of the iframe, though. And I do not see an option for it in the Facebook Page Tab settings - it also appears to match the style/css of the facebook iframe.
My question is: How can I have a border surrounding an iframe loaded in another page (this instance, Facebook Page Tab) that does not appear at the original source of the webpage?
Thanks!
The Facebook stories tab you refer to doesn't have a border on the iframe. The border is set on the body with css.
If you check the source of the tab : https://www.facebookstories.com/tab/
You will see the border next to the scrollbar.
I hope this answers you question :)
This is a firefox specific bug that just started today. IE and Chrome do not show any scrollbars. I'm making all the appropriate Facebook calls to autogrow the page.
I have in place
FB.Canvas.setAutoGrow();
FB.Canvas.setSize(true);
Inserting css: Overflow : hidden on the html tag will fix the problem but breaks many of my pages.
and nothing is working. Even with css: Overflow:hidden the vertical/horizontal scrollbars still appears but is disabled.
Previously, firefox had always displayed a disabled bottom scrollbar, but now it is displaying a enabled vertical scrollbar as well. The vertical scrollbar just crept up over night and is now displaying on the live version of my app. Something changed on the Facebook end to have the vertical scrollbar start showing up.
Aside from the vertical scrollbar now appearing, firefox also displays a disabled bottom scrollbar that is impossible to get rid of, I've seen this bottom scrollbar on every app on facebook in Firefox.
You can see the bug live in action by going to
apps.facebook.com/Ovrlap-App I also went around checking out other FB apps and found another example on BranchOut (an app with 2mill + users).
Firefox has always had a disabled bottom scrollbar which I'm totally clueless as to how to get rid of it. But this new vertical scrollbar just showed up today.
Thanks in advance,
-Rob
I have the following site, I just added the facebook like button, but after clicking on the like button, the iframe will appear beneath the content. I also added the google share and that is working fine. What can be the problem with the like/send buton?
Perhaps it is because in your CSS, you have overflow:hidden in your #maincolumn_middle. It will hide any elements within it, including the pop-up iframe window. Removing the overflow:hidden would show it.
I'm trying to get Fancybox to center up on the screen within a facebook iframe app. Everything works fine on my test page outside of FB but once I put it in my app it shows up centered according to the iframe height not the viewable screen. I have also noticed that the 'centerOnScroll': true is also ignored when using inside FB app. Any suggestions would be great and much appreciated.
Centering in a iframe according to it's viewable height is generally not workable. Have a look at the following answer.
Fix an element inside an iframe in the center of the screen
My IFRAME application is out of facebook layout. My app opens in a new browser tab, with the Facebook bar on top, oauth at center of the page, and ticker on right panel, but the left panel with user info (like pages, apps, etc) isn't there.
I want my app to open inside the facebook layout, like a page tab, I don't need more space than that.
Changing my app's config did not resolve the problem. The only basic settings I've checked is "App on Facebook", the advanced settings are for canvas width "fixed(760px)", canvas height "fluid".
How can I keep my IFRAME application inside the Facebook layout? The app can have only 520px width.
You should not create App on Facebook. What you are asking is Page Tab.