I am wondering how can I retrieve selected user data from Facebook using Facebook SDK C# for Windows Phone 7?
My current code:
fbClient = new FacebookClient(App._accessToken);
fbClient.GetAsync("/me", new Dictionary<string, object> { {"fields", "id, name, first_name, last_name, picture"} , {"access_token", App._accessToken} });
What should I do with this code now?
How can I print on the screen my name?
Regards, Mario
I found solution for my case. I’ve solved it with DataContext.
Solution:
Part of MainPage.cs:
MainPage.xaml: