Here’s my app http://kunwar.fantoon.com/fb/, when I click on login link , it properly shows the login dialog box, once logged in it also shows the permission dialog box but when I click on the Allow button, it redirects to a blank page.
If for the second time I click on login button (this time I am already logged in to facebook and has granted all the permissions) then it will redirect to a blank page which has this url
Earlier this whole setup was working fine, but now all of a sudden this problem has appeared.
I am using javascript sdk to connect to facebook, its code is available at http://kunwar.fantoon.com/fb/js/fb_lib_common.js
As the error states on the blank page’s console log: “Unsafe JavaScript attempt”
Set your channel file in
fb_lib_common.jsFor http://www.yourdomain.com/channel.html, add the following,