This is my app, when I click the login link, it shows the login dialog box properly, once In the log also shows the permission dialog box, when I click on the Allow button, it redirects to an empty page.
The second time I click on the login button (this time I'm already logged into Facebook and all permissions), it will redirect to an empty page in which this url is < P>
I'm using JavaScript SDK to connect to Facebook, its code
is available as an error on the console page of the empty page: "Unsafe Javascript Attempt"
, add the following, fb_lib_common.js
Set your channel file in FB.init ({AppId: 'Your APP ID', Status: True, Cookies: True, xfbml: True, oauth: true, channelUrl: 'http://www.yourdomain.com/ Channel.ht mL '}); For
& lt; Script src = "// connect.facebook.net/en_US/all.js">< / Script & gt;
Comments
Post a Comment