Facebook Login with FBAPP error

After I try to log in using facebookapp, I get stuck after jumping from facebook app to my app.
I manually switch the application back to the background after the application has been restored stuck.
Our project is on line, is there any way to disable this error or restrict facebook to web login.

hi! yinjimmy
how to set the facebook loginBehavior = FBSDKLoginBehaviorWeb

Add new api PluginFacebook::setLoginBehavior(sdkbox::FBSDKLoginBehaviorBrowser);

FBSDKLoginBehaviorBrowser = 1;

which version sup this method?