Maybe a blank URL
look the images
THE CODE
let APP_ID = MYID
let SECRET_KEY = MYKEY
let VERSION_NUM = "v1"
var backendless = Backendless.sharedInstance()
override func viewDidLoad() {
super.viewDidLoad()
backendless.initApp(APP_ID, secret:SECRET_KEY, version:VERSION_NUM)
easyFacebookLogin()
//logoutUserAsync()
}
func easyFacebookLogin() {
backendless.userService.easyLoginWithFacebookFieldsMapping(
["email":"email"], permissions: ["email"],
response: {(result : NSNumber!) -> () in
print ("Result: \(result)")
},
error: { (fault : Fault!) -> () in
print("Server reported an error: \(fault)")
})
}
Please compare your facebook settings with the screenshots we have in the documentation. Make sure you didn’t miss anything there.
Hi Fernando,
I just created a simple project with easy FB login, it works fine for me, I shared it. You can try it with my backendless app, then set your appId & secretKey and compare the results. Let me know how it works for you.
Regards,
Slava
Hello Vyacheslav , thanks for your help .
I made comparisons / corrections in my study .
I now have a browser screen displayed with null value.
Below printscreen screens .
Grateful


Fernando,
Does the popup with error occur when you try to login to FB?
It does not make sense since the screenshots show you have a valid user object.
Can you explain?
Mark
Hey Mark has the aforementioned tutorial been moved?
https://backendless.com/documentation/manage/mgmt_social_settings.htm
I’ve seen reference to it in a few doc locations, but the page I get a 404 for each of the links to it.