Hi,
I am trying to pass the 2nd parameter “true” like described in the FB docs to the native/facebook plugin so that it forces a roundtrip to FB.
FB.getLoginStatus(function(response) {
// this will be called when the roundtrip to Facebook has completed
}, true);
The problem is that the native/facebook plugin returns a single promise and doesn’t seem to accept more params. So how do I achieve this? The following code fails.
//Is the user already logged in ?
this.fb.getLoginStatus().then((response: any) => {
//Do something
}, true); //How can I do this?