Closed kazukinr closed 6 years ago
Please do. :) . And to the extent we need to release updates for Facebook login, would appreciate any changes needed. Happy to tag and release the version once the PR's merged.
Thanks for your quick response. I'll try.
Hi, Developers.
We are using Parse as backend in our app and using ParseFacebookUtils library. We have a problem that user who logged in via Facebook and Parse for other platform(probably parse-server), can not log in to Android app.
Stack trace is below.
We checked this and finally found out the cause of this. In this case,
expiration_date
of Facebook auth data is invalid format. FacebookController.java expects PRECISE date formatyyyy-MM-dd'T'HH:mm:ss.SSS’Z’
, butexpiration_date
is formatted as IMPRECISE date formatyyyy-MM-dd'T'HH:mm:ss’Z’
like2017-12-28T08:06:56Z
.The user can log in to iOS app, but can not log in to Android app. I think it’s better the user with IMPRECISE
expiration_date
can log in to Android app too.I guess exception occurs at this line. https://github.com/parse-community/ParseFacebookUtils-Android/blob/v4-1.10.5/library/src/main/java/com/parse/FacebookController.java#L170
If it’s ok, I’ll try to send PR for this.
Thanks.