views:

92

answers:

0

How to fix crossscripting issue calling FB.init using Facebook Connect (old JS SDK)?

More specific: if xd_receiver.htm is not specified: after calling calling FB.Connect.requireSession(facebook_login_callback) the Facebook login pops up correctly but browser console throws "Unsafe JavaScript attempt to access frame with URL...Domains, protocols and ports must match" and callback is never called (even after login).

If correct xd_receiver.htm is specified correctly, a facebook popup says "Sorry, an error has occurred." but no exception is thrown by browser.