I need to update, delete user data, but when I login with facebook it only returns the user but not the user-token
Hello,
Try this code:
// get objectId of the logged-in user:
var userObjectId = Backendless.LocalCache.get("current-user-id")
// get user-token of the logged-in user:
var userToken = Backendless.LocalCache.get("user-token")
https://backendless.com/documentation/users/js/users_login.htm