Closed M4rcDev closed 7 years ago
are you receiving an access token?
No, the error function is called with the error instead of the function with the result, that should contain the access token.
Any updates @nraboy :D?
Sounds like you didn't configure something correctly in your Facebook dashboard.
I have played around a bit with the settings and still getting the same error :(
Hi, I am trying to getting the user email but while logging in i´m getting the following error : Thats my code:
$scope.fbLogin = function () { window.cordovaOauth.facebook("APPID", ["public_profile"], {redirect_uri: "http://localhost/callback"}).then(function(result){ displayData(window.http, result.access_token); }, function(error){ alert("Error: " + error); }); };
(I have replaced the APP ID here.) Any ideas why this is happening ?