Login with FB - iOS SDK

Hi there!

I’m using FB SDK, and property mapping
#define FACEBOOK_LOGIN_PROPERTY_MAPPING @{@“email” : @“email”, @“email” : @“username”}

The unique identifier is the field Username in the table Users.
But the field Username is storing the set of numbers, not the email.
I’m using the Facebook permissions

FACEBOOK_LOGIN_PERMISSIONS @[@“user_about_me”, @“user_relationships”, @“user_birthday”, @“user_location”, @“email”]

What am I doing wrong?

This issue usually happens if permissions were not set correctly. Please, see this topic, probably you have the same issue.
Please notify us if it helps.

Thanks, it is helped me. Please, close this topic.