Login with facebook Android

Asked

Viewed 93 times

2

I’m still studying programming for apps, I have a question that for you should be simple, I created an app and a Rest application the user makes the registration in the app and save the data in a Mysql database, when the user logs in I save his data locally using sqlite so when he closes the app and open again I check if he is already logged in or not, until then it’s okay... now to implementing a login button with Facebook, and I’m lost, I even managed to do all implementation and this working, my question is the following:

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

1 answer

0


This is up to the software engineer or programmer. The application owner. The only thing you need to do is ask the user’s authorization, through login and password, to access his data. What to do with the data depends on its architecture and the model followed by the application.

This, effectively, is a matter of where you want to go and how you want to arrive with your app.

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

Take the case of Spotify: the registration with Facebook data is completely derived from your account on the social network in question. If you close your Facebook account, you are disconnected from Spotify.

Behold Facebook for Facebook

Browser other questions tagged

You are not signed in. Login or sign up in order to post.