Facebook session


#1

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.


#2

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