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 Jan 26, 2021. It is now read-only.
onLogin={function(data){
var credentials = data;
let authData = {
id: credentials.profile.id,
access_token: credentials.token,
expiration_date: credentials.expiration
};
Parse.FacebookUtils.logIn(authData, {
success: function(user) {
if (!user.existed()) {
alert("User signed up and logged in through Facebook!");
} else {
alert("User logged in through Facebook!");
}
},
error: function(user, error) {
console.log(error);
alert("User cancelled the Facebook login or did not fully authorize.");
}
});
}}
and this is the console in error function:
I/ReactNativeJS: { code: 107, message: 'Invalid date' }
I include this modules
var Parse = require('parse/react-native');
var ParseReact = require('parse-react/react-native');
var NativeModules = require('react-native');
var FBLogin = require('react-native-facebook-login');
var FBLoginManager = NativeModules.FBLoginManager;
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I want to use facebook login to parse in android device.
when trying login parse with facebook on ios, the code is below:
when i try the same way on android, it failed.
and this is the console in error function:
I/ReactNativeJS: { code: 107, message: 'Invalid date' }
I include this modules
The text was updated successfully, but these errors were encountered: