How to get user-token after login with facebook javascript?

I need to update, delete user data, but when I login with facebook it only returns the user but not the user-token


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")