I am trying to send application invites from an Iframe application. I open the dialog like this.
function sendRequestToOneRecipient(user_id) {
FB.ui({method: 'apprequests',
message: 'message',
to: user_id,
display: 'popup'
}, requestCallback(user_id));
}
When the dialog opens I get a ton of "Unsafe JavaScript attempt to access frame with URL from frame with URL" error messages. The send and cancel buttons just make the dialog go blank, but not close and it doesn't work.
I don't know if it's related or not, but when loading the JS SDK in Chrome I get "Cannot read property 'cb' of undefined" and Firefox says "b is undefined". I do not have any references to the old FeatureLoader.js anymore.