Can't sign in to Facebook using code and IE11
Hi,
It might be the wrong forum for this question but since I don't find a solution I will ask anyway.
I sign in to Facebook using the following code -
- FB.login(function (response) {
- console.log('Welcome! Fetching your information.... ');
- if (response.authResponse) {
- FB.api('/me', function (response) {
- console.log('Good to see you, ' + response.name + '.');
- });
- } else {
- console.log('User cancelled login or did not fully authorize.');
- }
- }, { scope: 'email, public_profile' });
When I use this code win IE11 it opens a Log in dialog and let me type in my credentials, after I click the "Log in" button the login dialog returns an empty page, it does not sign me in to Facebook and it stays open.
The code works fine with Chrom, FF, MS Edge.
I tried to reset IE11 and clear cookies and history still it does not work.
Environment -
Win 10
VS2013
IE11
Hope someone can assist,
Thanks