Support Topics Documentation Slack YouTube Blog

Possible bug with dashboard not showing fields after social login?


(SnakeEyes) #1

Hello,
I am doing the social login with Facebook .Everything work fine. I check the BackendlessUser after success call to Backendless.UserService.loginWithFacebookSdk
and I find all the fields in there.
However when I go to the dashboard, I see none of the mapping. I only see name, email, passsword but I don’t see first_name, last_name …etc
I even tried creating the column last_name manually and it says “it already exists” although the column is not visible in the dashboard.

Can you please let me know if I am doing something wrong or if it is a bug
Here is the code

Map<String, String> facebookFieldMappings = new HashMap<String, String>();
facebookFieldMappings.put( “first_name”, “first_name” );
facebookFieldMappings.put( “last_name”, “last_name” );
facebookFieldMappings.put( “birthday”, “birthday” );
facebookFieldMappings.put( “email”, “email” );
facebookFieldMappings.put( “gender”, “gender” );
Backendless.UserService.loginWithFacebookSdk(fbAccessToken, facebookFieldMappings,new AsyncCallback<BackendlessUser>() {
@Override
public void handleResponse(BackendlessUser backendlessUser) {
isLoggedInBackendless = true;
}

@Override
public void handleFault(BackendlessFault fault) {
isLoggedInBackendless = false;
}
}, true);


(Sergey Kukurudzyak) #2

Hello, what is you application id?


(Sergey Kukurudzyak) #4

I can see all the fields http://take.ms/6r8i5l
also they are present on the Schema tab


(SnakeEyes) #5

Hmm that’s weird. I can see them now. Perhaps it needed few hours to see everything?! Thanks for confirming