ios - No access token (session) upon ParseUI login with Facebook v4 -
using parse ui 1.1.3 (with parse 1.7.2) , facebook v4, have problem upon login facebook. code basic:
let logincontroller = pfloginviewcontroller() logincontroller.delegate = self logincontroller.fields = pfloginfields.usernameandpassword | pfloginfields.passwordforgotten | pfloginfields.loginbutton | pfloginfields.facebook | pfloginfields.signupbutton | pfloginfields.dismissbutton logincontroller.facebookpermissions = ["public_profile", "user_friends"] logincontroller.loginview!.logo = uiimageview(image: uiimage(named: "icon_parse")) self.presentviewcontroller(logincontroller, animated: true, completion: nil)
when logging via facebook, there no visual error. retrieve parse user pfuser.currentuser()
, facebook access token empty fbsdkaccesstoken.currentaccesstoken()
.
is bug parse sdk ?
it parse bug, corrected in parse 1.7.3 (but update makes parse crash reporting crash...)
Comments
Post a Comment