I want to create a signUp with Facebook. The code should work so far. I compared it with different sources and they use it like I did. 

```
    loginWithFacebook = async () => {
    const { type, token } = await Expo.Facebook.logInWithReadPermissionsAsync(
        '449579609085368',
        { permissions: ['email', 'public_profile'] }
    );

    if (type === 'success') {
        const credentials = f.auth().FacebookAuthProvider.credential(token);
        f.auth.signInWithCredential(credentials).catch((error) => 'Error logging in Facebook', error);
    }
}

```

I am very happy about any kind of help.