You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 2, 2021. It is now read-only.
You shouldn't need to use the JS SDK for anything. If you look at the react-native-fbsdkcore package, there's support for graph requests -- which you can use to request user data, among other things -- and access tokens. The getCurrentAccessToken method in FBSDKAccessToken can be used to determine if the user is logged in by checking if an access token was returned. Example:
varFBSDKCore=require('react-native-fbsdkcore');var{
FBSDKAccessToken,}=FBSDKCore;
...
FBSDKAccessToken.getCurrentAccessToken((token)=>{if(token){// A non-null token indicates that the user is currently logged in.}});
...
Hi,
Just a few questions by curiosity:
Thanks!
The text was updated successfully, but these errors were encountered: