I wish to add the facebook login on my game but I’m not able to make it working.
I’ve tried to start from the example that I found on the CoronaLabs package (SampleCode/Networking/Facebook/) but even that project doe not work…
I’ve created a new app on Facebook I’ve enabled it for SSO.
I’ve substitute the APP ID create to the build.settings and I’ve compiled the project, moved to my iPhone and tested.
On the console log I see:
Mar 7 17:25:07 iPhone-di-massimiliano kernel[0] <Debug>: launchd[972] Container: /private/var/mobile/Applications/BD2439C8-6E03-4F06-961F-BA9154653AB0 (sandbox)
Mar 7 17:25:07 iPhone-di-massimiliano Facebook[972] <Warning>: Facebook Listener events:
Mar 7 17:25:07 iPhone-di-massimiliano Facebook[972] <Warning>: type(session)
Mar 7 17:25:07 iPhone-di-massimiliano Facebook[972] <Warning>: name(fbconnect)
Mar 7 17:25:07 iPhone-di-massimiliano Facebook[972] <Warning>: phase(loginFailed)
Mar 7 17:25:07 iPhone-di-massimiliano Facebook[972] <Warning>: isError(true)
Mar 7 17:25:07 iPhone-di-massimiliano Facebook[972] <Warning>: response(The operation couldn … #66)
Mar 7 17:25:07 iPhone-di-massimiliano Facebook[972] <Warning>: event.name fbconnect
Mar 7 17:25:07 iPhone-di-massimiliano Facebook[972] <Warning>: event.type: session
Mar 7 17:25:07 iPhone-di-massimiliano Facebook[972] <Warning>: isError: true
Mar 7 17:25:07 iPhone-di-massimiliano Facebook[972] <Warning>: didComplete: nil
Mar 7 17:25:07 iPhone-di-massimiliano Facebook[972] <Warning>: Session Status: loginFailed
Is there a way to understand why the login Fails?