简体   繁体   中英

Facebook IOS SDK 4.8.0 not returning to the app after Login

I have integrated Facebook Login to my iOS app which was working fine till yesterday. And today, I found out that it is not returning to the my app. I checked with Facebook Debugging where it prints as success for Login Completion and Permission Acceptance. But when everything is completed, it does not return to my app.

To test if this is issue from Facebook being not responding properly, I downloaded an app from AppStore and tested Facebook Login inside that app, it works perfect. I don't know what the hell is going on in my app.

In Login Action Add these lines so that Facebook will be opened in popup

FBSDKLoginManager *login = [[FBSDKLoginManager alloc] init];
login.loginBehavior=FBSDKLoginBehaviorWeb;  // it open inside the app using popup menu

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM