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.

0 Likes

#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

0 Likes

closed #3

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

0 Likes