Easy Facebook Login Swift 2.2

Hi,
The Easy Facebook login was working fine but when code was migrated to Swift 2.2 validUserTokenAsync funcion always returns false.
Messages on Debug Area are:
In AppDelegate:
AppDelegate -> application:openURL: Optional(“backendlesse1067a7c-5060-51c0-ffa4-78f82dc08c00”)
made it this far
In validUserTokenAsync
Optional(false)
Here is the code in both functions:

func application(_ application: UIApplication, open url: URL, sourceApplication: String?, annotation: AnyObject) -> Bool {
 print("AppDelegate -> application:openURL: \(url.scheme)")
 
 //let backendless = Backendless.sharedInstance()
 backendless = Backendless.sharedInstance()
 let user = backendless!.userService.handleOpen(url)
 if user != nil {
 print("made it this far")
 }
 return true
 }

And

func validUserTokenAsync() {
 backendless!.userService.isValidUserToken(
 { (result : AnyObject?) -> () in
 print("\(result?.boolValue)")
 //self .SegueForLoggedInUser()
 },
 error: { ( fault : Fault?) -> () in
 print("Server reported an error (ASYNC): \(fault)")
 } 
 )
}

Any help would be appreciated.
Thank you all.

Hi Tony,

You can investigate our sample project (see in attachment). Load it with TestEasyLogin.xcworkspace, then run with your Facebook account. You have to organize your app like it.

Regards,
Slava

TestEasyFacebookLogin.zip (19.57MB)