Page 1 of 1
Facebook Login (not web authentication)
Posted: Thu Jan 01, 2015 4:49 pm
by Vitor Zaninotto
I ́m building a Facebook login on my Appery App. I want the use the native Facebook login authentication (that uses Facebook App already instaled on mobile to login) and NOT the web version.
I installed the Appery Facebook API but the login uses the Web format.
What I need is that:
https://developers.facebook.com/docs/...
Have anyone implemented it thru Appery?
Thanks
Facebook Login (not web authentication)
Posted: Thu Jan 01, 2015 10:57 pm
by Yurii Orishchuk
Hi Vitor,
Only way to do it with this facebook api - use - your custom cordova plugin.
Also i can suggest you to learn about this plugin: https://github.com/Wizcorp/phonegap-f...
Here is how to use 3rd party cordova plugin in your appery.io app.
http://devcenter.appery.io/documentat...
Regards.
Facebook Login (not web authentication)
Posted: Mon May 02, 2016 10:05 am
by LuisMa Suárez Gutiérrez
i tried to use to use the facebook phoneGap plugin and it installed fine.
i just have a question regarding what that measn for "platform" in facebook setting?
if im using phonegap it mean, its native adroid?
I can logon using the appery facebook plugin.
but when i tried the phonegap one i got this screen:
the following is how my app is setup on the facebook app I thought that when i used Appery the platform was "website".
can you please advice how i should configure the app?
i tried to ass the package name and got a message asking for a Hash key id. how can i generate that?
Facebook Login (not web authentication)
Posted: Tue May 03, 2016 2:01 am
by LuisMa Suárez Gutiérrez
so , right now i am under the impression that i need to
add the Android native option to the facebook app,
-which means i have to create my own has key ,
--to do this i need to download OpenSSL ,
----to do this i need cygwin
-----i also need android studio to generate a keystore
-------- i have to export the appery proyect as a android studio project.
----------- once created the keystore i can run keytool -exportcert -alias -keystore | openssl sha1 -binary | openssl base64.
is this correct? or am i missing something?
Facebook Login (not web authentication)
Posted: Wed May 04, 2016 1:48 pm
by Serhii Kulibaba
Hello,
Right, please use website, if you use Appery.io facebook plugin and native - if you use phonegap plugin for that.
What do you mean with hash key?
We are very sorry, but exporting to the Android Studio is something outside the scope (http://devcenter.appery.io/support-po...) of our standard support.
Facebook Login (not web authentication)
Posted: Thu May 05, 2016 12:04 am
by BananaGator
You should only need to use the Website setup in Facebook. There is no meed to add the native platforms.
Facebook Login (not web authentication)
Posted: Mon Jul 18, 2016 9:19 am
by LuisMa Suárez Gutiérrez
hi!
again im trying to do this.
and i got a lot of things working
but i am still under the impresion that i cant use the plug in with registering on facebook dev console as "native" and that measn i have to provide a hash key.
has anyone made this work?
Facebook Login (not web authentication)
Posted: Mon Jul 18, 2016 9:22 am
by LuisMa Suárez Gutiérrez
I got a very clear response saying i need to create a Native App in facebook .
not a "website"
Facebook Login (not web authentication)
Posted: Tue Jul 19, 2016 3:38 pm
by Serhii Kulibaba
Hello, we don't have such example. Probably, this Cordova plugin might to help you: https://github.com/Wizcorp/phonegap-f...
Also, please look at this link how to get a hash key: http://www.markupjavascript.com/2015/...
Facebook Login (not web authentication)
Posted: Thu Sep 29, 2016 1:02 pm
by Sam8264500
Hi Sergiy
I tried the above plugin. But it throws build error with android.