RailsCasts Pro episodes are now free!
Learn more or hide this
GitHub User: nitinstp23
FB.login( function(response) { if (response.authResponse) { return window.location = '/auth/facebook/callback'; } }, { scope: 'email' } );
In the above code instead of changing window.location, is there a way to do this through ajax. Doing this through ajax doesnt seem to work.
In the above code instead of changing window.location, is there a way to do this through ajax.
Doing this through ajax doesnt seem to work.