To add to what Rob said, the change between 2035 and 2036 mirrors the change we did in the 1.0 daily builds. These satisfy new requirements that Facebook has imposed.
I changed my login() call to request these permissions:
{"email","user\_birthday","publish\_actions"}
and after a successful login, I’m now doing a facebook.request() call:
facebook.request("me?fields=id,email,name,first\_name,last\_name,gender,birthday,picture.width(85).type(square),locale")
The app now frantically goes back to the native Facebook app repeatedly… this is using the latest Enterprise/Graphics 2.0 build, 2057.
Any idea why?
Testing this further… I removed the permissions except for publish_actions. Testing in iOS Simulator and on an actual iPad. Login process starts when facebook.login() is called, jumps over to the native Facebook app to authenticate (I thought using native iOS login wasn’t supposed to do this?), then returns to the app…
What’s weird is at this point it hangs for like 30-45 seconds before it then AGAIN jumps this time out of the app over to a web view with the facebook.com auth screen.
Sorry, “fitnate” is me I have two Corona accounts - one for Pro and one for Enterprise with a startup I’m working with.
Facebook has 3 login screens on iOS for the following cases:
-
when the Facebook app is installed
-
when the user is logged in via the phone and the facebook app is not installed
-
when the user isn’t logged in via the phone and the facebook app is not installed.
https://developers.facebook.com/docs/ios/login/
Also we’re looking into the issue right now. A few questions though,
-
what version of iOS are you running
-
what version of the facebook app are you running
Thanks.
Hi dchan, I’m testing this on iOS 7.0.3 and on the device, Facebook 6.7.1
Nate
And I’m using the latest Corona Enterprise + Graphics 2.0 daily build (2057)