In this code -
FB.login(
function(response) {
if (response.authResponse) {
return window.location = ‘/auth/facebook/callback’;
}
}, { scope: ‘email’ }
);
Instead of doing “window.location” here, how it can be done through
ajax?
Please help.
In this code -
FB.login(
function(response) {
if (response.authResponse) {
return window.location = ‘/auth/facebook/callback’;
}
}, { scope: ‘email’ }
);
Instead of doing “window.location” here, how it can be done through
ajax?
Please help.
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs