Login with facebook Android

2

I am still studying programming for apps, I am with a doubt that for you should be simple, I created an app and an application Rest the user makes the registration in the app and saved the data in a MySQL database, when the user logs I save his data locally using sqlite for when he close the app and open again I check if it is already logged in or not, so long ... now I'm implementing a login button with Facebook, and I'm lost, I even managed to do the whole implementation and it's working, my question is:

When logging in via Facebook should I save this data also in MySQL, or do I let Facebook manage it? In the registered users they can change their data in the app like email and password and when it is via Facebook how is it?

    
asked by anonymous 10.06.2017 / 05:38

1 answer

0

This is the software engineer or programmer who decides. The owner of the application. The only thing you need to do is ask for the user's authorization, through a login and password, to access his data. What to do with the data depends on your architecture and the model followed by the application.

This is effectively a question of where you want to go and how you want to get with your app .

I do not think that you should store the information that is on Facebook, but to answer definitively, you should ask yourself the criticality and sensitivity of the data required by your application.

Take a look at Spotify: Facebook's data is completely derived from your account on the social network in question. If you close your Facebook account, you are disconnected from Spotify.

See Facebook for developers

    
11.06.2017 / 23:11