I'm trying to display a Facebook UI dialog inside my iframe application, so that I can get an extended resolution that we don’t have right now. This was easily achieved using the old SDK. However, using the new library, I get an iframe dialog on Facebook that appears modally but never stops loading. Changing the method to "page" means that I get a browser popup that simply says "An error has occurred." My code is:
var attachment = {
display: 'iframe',
method: 'oauth',
scope: perms,
access_token: '<?php echo $this->accessToken; ?>'
};
FB.ui(attachment, function(response){
pr(response);
});
I hope this is possible using the new SDK, the documents, of course, claim to be iframea valid display option.
Thanks in advance.
WITH