@adangnzlz
Basically you take that token, attach it to further rest calls to facebook graph API for whatever data you need. The facebook graph api also requires you to add the scope elements you want to be authorized to access by the user:
var facebookInitOptions: tnsOAuthModule.ITnsOAuthOptionsFacebook = {
clientId: '**************',
clientSecret: '********************',
scope: ['email', 'public_profile'],
};
The example given by the nativescript oauth team just includes email but you add public_profile or friends list as well.
I’ll see if I can combine the API call for data into one but my understanding is that facebook requires seperate calls for more data. The call that nativescript-oauth does just retrieves the token for access.