Facebook API plugin question
Hi.
As you probably know by now, I am building an IOS app (also planning to release to android when IOS is done), and I am invoking facebook login for my app.
Facebook login is mainly only to retrieve a users ID to identify items created by the user (I decided on using facebook login, and not appery backend user login due to reset password functionality, and so forth, simpler, I hope).
So just to explain a little about the app to clearify my question:
-Startscreen - DeviceGeolocation service
Loginscreen - Connect with facebook - save userId to localstorage
I have tried the tutorial (Build an app with the Facebook API), and I found a plugin called "Facebook API" (in Plug-ins), witch I added to my project just to try another approach.
So now to my questions:
1)
I am not quite sure what will be the best approach for me, for a native IOS/ANDROID app. I noticed the tutorial are using:
codecb = window.plugins.childBrowser;/codeand the plugin is not. I have tried both approaches on device (IPA installed and tested), but if you could help me out, explaining what approach I should use to invoke the facebook login, I would appreciate it.
2)
I noticed I needed to set the app to "public" in appery builder. Does this mean that after user is logged in, he is returnAdressed to the website, and not the native app?3)
On app init, App ask to use location service, but after facebook login is complete, it asks again!?!Please clarify a bit round this, and I will be really grateful

Thanks!
-Tom