facebook login ios 8 safari Please close this tab to continue to -


I use the Facebook API to authenticate on my website

  window FbAsyncInit = function) {FB.init ({appId: 'XXXXXX', position: true, cookie: true, xfbml: true}); }; (Function (doc) {var js; var id = 'facebook-jssdk'; var ref = doc.getElementsByTagName ('script') [0]; if (doc.getElementById (id)) {return;} js = doc Element ('script'); js.id = id; js.async = true; js.src = "//connect.facebook.net/it_IT/all.js"; ref.parentNode.insertBefore (js, referee); } (Document)); Function Login () {FB.login {If (response.authResponse) {FB.api ('/ me', function (feedback) {console.log (feedback); jQuery.ajax ({type: " Post ", url:" xxxxx and format = jsan ", data: {email: feedback.email, fb_id: response.id, name: response.first_name, alias: response.last_name}, success: function (data) {window. Location = data.url;}});});} other {warnings ("login attempt failed!"}}}}, {Scope: 'email'}); }  

Authentication is properly redirected to the site with iOS 7.

I ask from iOS 8 " Please close this tab to continue ... "

How can I fix this?


Comments

Popular posts from this blog

apache - 504 Gateway Time-out The server didn't respond in time. How to fix it? -

c# - .net WebSocket: CloseOutputAsync vs CloseAsync -

c++ - How to properly scale qgroupbox title with stylesheet for high resolution display? -