My app requires the user to log in with Facebook to use it. When my app loads, I call Session.openActiveSession()
. This opens Facebook's login form in a popup dialog. The user has the option to close the dialog. Is it possible to make the login form take up the entire page? This way, if the user wants to close Facebook's login form, my app also closes.
protected void onCreate(Bundle savedInstanceState) {
...
Session.openActiveSession(this, true, Arrays.asList("email"), new Session.StatusCallback() {
@Override
public void call(Session session, SessionState state,
Exception exception) {
if (session.isOpened()) {
...
}
}
});
}