Handle facebook login window close action

602 views Asked by At

I am using openFB for facebook login.

openFB.login(
            function(response) {
                if (response.status === 'connected') {
                    // do something
                } else {
                    console.log('Facebook login failed');
                }
            }
        )

This opens the login window.
How can I handle an event when the user closes this window without signing in?

0

There are 0 answers