简体   繁体   中英

facebook ios sdk 4.16 custom login button didn't fire safari web view at the 1st click

I've implemented a custom Facebook login button in my app. The problem is when click the login button at the very first time (cache token expired or cleared), the safari web view authorize page will not be fired until I re-request like

[FBSDKLoginManager logInWithReadPermissions:permission:fromViewController:handler]

again. Does anyone know what is the potential problem? I try to catch the 1st login request exception error and have tried every loginBehavior but no luck.

I solve this issue by upgrade Facebook SDK to 4.17. It's Facebook SDK bug.

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