I have a server with REST api & a native android app.
What I want is to give users ability to register and login using their facebook account: if user is not registered yet - then it taps the Login with Facebook button, grant me basic permissions and I create an account on my server; if the user is already registered - then he just logs in and can use the app.
Can you give me any links to resources where this flow is being described? Because I really can't understand how it should work. Should I use facebook SDK for android, get user data from it and then send to my server? Then how do I manage user after this... I only need facebook for user registration and login, all app functionality will be based by custom data from my server.
Greatings, Graykos.
I will give you few resources what I think we will be useful for you:
If you have some questions about this when you develop your Facebook login, let us know, in SO!
Have a good day!