Eren
Eren

Reputation: 2663

Is user's facebook ID always constant for specific user that returns from facebook API?

I use facebook login button to register or login user to my android app.

After getting permission from user; i get user email, facebook ID and authorization token from facebook API.

Early on, i was handling all authorization, logging in and registering processes with user's email. For example; i was checking if user registered to my server with querying his/her email. But, i noticed that main email of facebook account can be changed. So, i decided to use facebook ID of user for all operations.

I want to be sure; is user's facebook ID always constant for specific user that returns from facebook API? Can it be change in any case?

Upvotes: 2

Views: 456

Answers (1)

andyrandy
andyrandy

Reputation: 73984

Yes, of course. The ID is always constant in your App. It is App Scoped though, so it will be different in another App.

Upvotes: 3

Related Questions