Property 'token' does not exist on type 'FacebookLoginResult'

Please provide the following:

  1. SDK Version: 36
  2. Platforms(Android/iOS/web/all): all

When using const {type, token} = await Facebook.logInWithReadPermissionsAsync({
permissions: [‘public_profile’, ‘email’],
});

I get an error saying that token does not exist on type FacebookLoginResult. I looked online and it seemed likes a pretty popular problem.

Please help, all things are updated to latest version.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.