We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
facebookLogout = async (accessToken) => { console.log('accessToken', accessToken); let logout = new GraphRequest('me/permissions/', { accessToken: accessToken, httpMethod: 'DELETE', }, (error, result) => { if (error) { console.log('Error fetching data: ', error); } else { console.log('result', result); LoginManager.logOut(); } }); new GraphRequestManager().addRequest(logout).start(); };
The text was updated successfully, but these errors were encountered:
Attempting to troubleshoot on outdated versions is a very inefficient use of time
Sorry, something went wrong.
No branches or pull requests
"react-native-fbsdk-next": "^3.0.1",
"react-native": "0.62.2",
facebookLogout = async (accessToken) => {
console.log('accessToken', accessToken);
let logout = new GraphRequest('me/permissions/', {
accessToken: accessToken,
httpMethod: 'DELETE',
},
(error, result) => {
if (error) {
console.log('Error fetching data: ', error);
} else {
console.log('result', result);
LoginManager.logOut();
}
});
new GraphRequestManager().addRequest(logout).start();
};
The text was updated successfully, but these errors were encountered: