I am trying to call for Facebook Graph API
via JS.
Like this:
FB.getLoginStatus(function(response) {
console.log("Get login status: ", response);
});
Unfortunately I receive the next error:
Insecure Login Blocked: You can't get an access token or log in to this app from an insecure page. Try re-loading the page as https://
I am using my localhost environment: http://localhost:8100
Which is what will be used later on the actual device as a Cordova mobile app.
That means every request I do with this app is insecure? How to fix this?
Thanks.