Error Logging in with Facebook

Hello I am trying to login with facebook using the backendless easy login and I am getting this error.

NSURLSession/NSURLConnection HTTP load failed (kCFStreamErrorDomainSSL, -9813)

Server reported an error: FAULT = ‘-1202’ [NSURLErrorDomain] <The certificate for this server is invalid. You might be connecting to a server that is pretending to be “api.backendless.com” which could put your confidential information at risk.>

Has anyone seen this before. Any help would be much appreciated. Thanks.

Hi, Rich.
Did you try Facebook Easy Login codegeneration sample? (“Codegeneration tab in Backendless console”).
If you connected Facebook App credentials in Backendless console - you have to set up your Facebook app properly (add Website platform and specify “https://api.backendless.com” as Valid OAuth redirect URIs )