FacebookAuthProvider

Hello, I use FacebookAuthProvider for login in facebook. But I have some troubles with login.

    mProvider.setPermissions(Arrays.asList("public_profile", "user_photos"));
    mProvider.setParameters(ParameterBuilder.newBuilder()
            .setScope("openid email profile offline_access")
            .setAudience("http://.....")
            .asDictionary());

inside FacebookAuthProvider I see success callback response, the above

new FacebookApi.Callback() {
@Override
public void onSuccess(LoginResult loginResult) {

Then call auth0.loginWithOAuthAccessToken(token, CONNECTION) for get credantials, But I have 403 error.
I think I get the error because loginWithOAuthAccessToken does’t work.

Can anybody clarify me please how to get user credentials by using this acсess token ? (loginResult.getAccessToken().getToken())

Hey there!

Sorry for such delay in response! We’re doing our best in providing the best developer support experience out there, but sometimes the number of incoming questions is just too big for our bandwidth. Sorry for such inconvenience!

Do you still require further assistance from us?