Facebook session

Hello guys.
The documentation describes how to authenticate using Expo.Facebook.logInWithReadPermissionsAsync and after that I have an access_token to make API calls. Thats all good but after the app restarts, how can I get the access_token again?

My current implementation stores the token locally.

Hey @fmilioni,

If you’re using AsyncStorage (or whatever local storage) you’ll just need to fetch that from the storage like so const value = await AsyncStorage.getItem('FacebookToken')

Cheers,

Adam

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