Using the Windows SDK for Facebook I've managed to log in and set the correct permissions to retrieve some info.
This was done using this code
FBSession sess = FBSession.ActiveSession;
sess.FBAppId = FBAppId;
sess.WinAppId = WinAppId;
// Add permissions
sess.AddPermission("public_profile");
// Do the login
await sess.LoginAsync();
Now the problem is that I can only retrieve a small bit of information from the FBUser and not all the fields that exists within it, for example:
sess.User.Name; // This WORKS
sess.User.Id; // This WORKS
sess.User.FirstName; // DOESN'T WORK
sess.User.LastName; // DOESN'T WORK
sess.User.Locale; // DOESN'T WORK
...
The FBUser associated with the ActiveSession is from the beginning ONLY populated with the data that you get from the initial "did login work"-request (which is a standard request to the /me Uri).
This only includes:
To get more data about the user you need to make use of the Graph API, and include the fields you're interested in as a parameter in the request.
This is one example how it could look like to update the current FBUser with the first_name, last_name and locale of the user.
Please note that the sample code only includes a very minimum amount of verification. Since this includes network calls more should be added.