facebook-iframe

Identify and Remove Frame Busting Code?

I was experiencing a bug with my Facebook 'like' buttons. The fix for the bug was posted here: http://wiki.github.com/facebook/connect-js/custom-channel-url At the beginning of this solution it states that the bug only occurs on pages with autostart video (which I don't have) or pages with frame busting code. I'm therefore assuming m...

Facebook iFrame App. getSession -login- problem

Hello people. I have a problem on FB iFrame app; My php code is below $session = $facebook->getSession(); if ($session) { $params = array('access_token' => $session['access_token']); try { $uid = $facebook->getUser(); $me = $facebook->api('/me', $params); } catch (FacebookApiException $e) { error_...

Prevent iframe "This webpage is not available." error from displaying on website

Hi, Is there a way to prevent the error "This webpage is not available." from displaying within an iframe that displayed on another site? For example, if I have a website and I want to display my Facebook fans in a box, one way to display it is with an iframe (typically Facebook supplied code). However, if for some reason Facebook is d...

Add iframe to facebook fan page without onClick method

Is there a way to add an iframe to a facebook page without having to do the onClick functionality? Right now I am using this code and it works fine except you have to click the link to make it show the iframe? <!-- Start iframe CODE --> Like me to show the iFrame link! <fb:visible-to-connection> <a onClick=...

Hide content from non-fans in a Facebook *IFrame* (Not FBML)

it is incredibly easy to hide content from someone who does not like your application...if you're using FBML. I'm using an iFrame and the JavaScript SDK, and am having terrible difficulty figuring this out. The behavior I'm seeing (both logged in and out) is that does not seem to be supported by FB.XFBML.parse(). Am I mistaken or is the...

Workaround for Facebook 760px iFrame width limit

We have a game we want to run as a facebook app in iFrame. But it's width is minimum 800 px. Preferably we would like it to be 1024 px width. Would it be possible to show the game in an overlay popup? Here can I find an example how to do so? (do I need css or javascript to do so?) ...

How can I add an invitation dialog to my facebook application (using ASP.Net)

I'm developing a facebook application, using IFrame instead of FBML. I have a main page with a sub-iFrame inside. In the inner iframe (the invitation page) I have: <%@ Register Assembly="Facebook.Web" Namespace="Facebook.Web.FbmlControls" TagPrefix="cc1" %> <cc1:Fbml ID="Fbml1" runat="server" Xfbml="True"> <ContentTemplate> ...

Facebook: 520 width causing iframe dialog with multi-friend-selector to be cut off

In my app I have a multi-friend-selector which displays fine in the iframe, but when I attempt to open any dialog/modal boxes that it (multi-friend-selector) triggers, it results in the content of said box being cut off on the right. The reason simply is due to the overflow:hidden property set on the elements above it in the DOM. Is the...

Facebook's condensed multi friend selector layout and rendering doubt

Hi, This is my first time working on a facebook app. I created an iframe app (i.e selected 'iframe' as the 'canvas type' when registering the app). I have this situation where there is a multi friend selector form in the sidebar of the app (which has a width of about 200px). Screenshot: The relevant code for generating that form is a...

FB Iframe App: Use different stylesheets depending on whether the user views the app through my website or through Facebook

I'm developing a facebook app which can be viewed in an iframe on Facebook itself, or as a standalone site (the line between Facebook Connect and iframe apps seems to have blurred...). The stylesheet I have now looks good on my site, but doesn't look right when viewed through the FB iframe (probably b/c the browser screen is much bigger...

How to find out a user is logout or not in Facebook iFrame App?

My application is iFrame App. Before, I can use $_REQUEST['fb_sig_logged_out_facebook'] to determine the facebook user is logout or not. However, with iFrame, I don't see that variable passing in. What can I do? I'm also using the new PHP SDK but it doesn't have any function to help me on that. What I want to find out is whether th...

Facebook JS SDK: Check permissions before Login PopUp

I want to check permissions of a logged in user before presenting the iframe login to request extended perms, but the iframe popup gets blocked by the browser (ff, chrome tested). I want to avoid this and i'm pretty certain its because the results of the js functions are 'nested' - my js cleverness is limited so excuse me. I'm guessin...