NativeScript / nativescript-facebook

NativeScript plugin, wrapper of native Facebook SDK for Android and iOS
Apache License 2.0
79 stars 50 forks source link

how can i check if user has signed in for first using FB #157

Closed job111 closed 5 years ago

job111 commented 5 years ago

what i mean is ..is it possible to check for the signed in user ID wheather that user already have an ID generated or not ..and if so, where is user ID located

elena-p commented 5 years ago

Hi @job111,

On logging in Facebook, you can get the user information (username and id) from Facebook as described here. Every facebook user has a unique Facebook id.

After that, it is up to your app's implementation how and where you store that users information. If you have decided to use Firestore, please refer to the Firebase plugin documentation as well as Firebase documentation itself.

job111 commented 5 years ago

alright thanks