How To Debug a Facebook problem with no errors messages?

Hi Guys,

Won’t post my code here unless you want to look at it.

Just trying a simple facebook login/post in the one call.  It loads the facebook dialogue, says that facebook is requesting permission to do xxx, I click okay and it fails.

There is no error message

What I get back in the listener is this:

I/Corona  ( 2845): event.name   fbconnect
I/Corona  ( 2845): event.type:  session
I/Corona  ( 2845): isError: false
I/Corona  ( 2845): didComplete: nil

Can someone point me in the right direction how to debug this?

I’ve tried this in both Bluestacks and my Samsung mobile and get the same thing.   Haven’t tried on iphone yet.

thanks

Daniel

Hi Guys,

No answers yet so wondering if there’s any more info I can give?

In more detail, what happens is that I press “OK” to accept permissions, then the Facebook app goes to work (you can see the spinning circle or whatever it is for a few seconds), then it just closes by itself.

There’s also nothing in event.response

I spent hours reading the tutorials and documentation to get this right, so it’s very frustrating.  Surely there’s got to be a clue somewhere as to what’s going wrong?

[edit] found one more piece of information.  event.phase is “loginCancelled”.

Any ideas how that could happen?  Couldn’t find much on google.  One other forum suggested to call facebook.logout() before the login but that didn’t work for me.

thanks

Daniel

Hi Guys,

No answers yet so wondering if there’s any more info I can give?

In more detail, what happens is that I press “OK” to accept permissions, then the Facebook app goes to work (you can see the spinning circle or whatever it is for a few seconds), then it just closes by itself.

There’s also nothing in event.response

I spent hours reading the tutorials and documentation to get this right, so it’s very frustrating.  Surely there’s got to be a clue somewhere as to what’s going wrong?

[edit] found one more piece of information.  event.phase is “loginCancelled”.

Any ideas how that could happen?  Couldn’t find much on google.  One other forum suggested to call facebook.logout() before the login but that didn’t work for me.

thanks

Daniel

having the same problem here…

having the same problem here…