Facebook login question

Is this statement true?  Just trying to understand the flow…

When the facebook API does a login() call, it fires up the native app (or web app) ONLY IF:

  1. The user hasn’t granted permissions to your facebook app
  2. The facebook API tries to log you in, but the token is expired

That sound correct?

Hi borderleap,

That’s my understanding, yes.  (Took me a little while to figure it out!)

  • Andrew

Thanks Andrew!

Anyone from Corona able to confirm?

From my observation when you call facebook.login() it’s going to launch the native app or safari and if you’re app is still allowed to access the permissions you originally requested, it returns quickly. 

Hi borderleap,

That’s my understanding, yes.  (Took me a little while to figure it out!)

  • Andrew

Thanks Andrew!

Anyone from Corona able to confirm?

From my observation when you call facebook.login() it’s going to launch the native app or safari and if you’re app is still allowed to access the permissions you originally requested, it returns quickly.