简体   繁体   中英

iOS Facebook Login Fast-App Switch Stays on Facebook App

I'll preface this by saying that this bug is difficult to reproduce and I have not been able to find a pattern for when it occurs.

When a user selects the Facebook login option in my iOS app, the app fast-switches to the Facebook app, and will stay in the Facebook app on the News Feed. Then when a user returns to my iOS app, and attempt to Facebook login again, it will fast-app switch and the login will continue as intended. When this bug occurs, it always fails, and then works reliably on the following attempt.

Make sure you have "fbXXXXXXXXXX:" in your plist

XXXXXX = you app id

When the app switches back it needs to know where to go, your app needs to respond to the url correctly.

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