Support Topics Documentation Slack YouTube Blog

iOS SDK method to login/register a user via Facebook

Hi Backendless Team, we use this iOS SDK method to login/register a user via Facebook and it worked well.
logingWithFacebook(accessToken: String, fieldsMapping: [String: String], responseHandler: ((BackendlessUser) -> Void)!, errorHandler: ((Fault) -> Void)!)
But currently, we have a registration problem. Old user logs in without a problem, but new user gets this error

Domain=BackendlessErrorDomain Code=3013 “Unable to register user. Missing identity value for ‘id’”

May you help us fix it?
Previously, there were no problems with generating this id field on your side

1 Like

Hello @Dmitry_Zausaev, I have created an internal ticket BKNDLSS-24664 to investigate the issue

1 Like

Hello @Dmitry_Zausaev,

I’ve created a new Facebook app, configured it, downloaded the FacebookLogin codegen app and everything works fine and new user has been registered without any problems.
Please make sure you’ve configured the Facebook settings correctly.
If the error still occurs, please provide a simple Xcode project with Facebook login that reproduces this issue.