Closed jesusmartinoza closed 7 years ago
Get user info using GrapRequest in Android and iOS
var FacebookLogin = require("FacebookLogin"); FacebookLogin.login().then(function(user) { console.log(JSON.stringify(user)); // {"id":"XXXXXXXXX","email":"XXXX@hotmail.com","name":"Jesus Martínez"} }, function(err) { console.log("Login failed: " + err); });
I missed that the original code is on the feature-NativeFacebookLogin branch, so I'll make the PR against that.
Get user info using GrapRequest in Android and iOS