Get User Info?

Jun 19, 2009 at 9:06 AM
Edited Jun 19, 2009 at 9:08 AM

Hi all,

I am able to get the user id of the user who is logged in to my application in Facebook. I want to retrieve user's other details like Address, Home town, Zip Code etc.

Is it possible to retrieve all these information?

Presently, I am able to retrieve only uid, first name, last name and name using the below code: 

IList<facebook.Schema.user> userInfo = api.friends.getUserObjects();

 foreach (facebook.Schema.user userta in userInfo)

{

string name = userta.name;  

string firstname = userta.firstname;

  

string lastname = userta.lastname;

}

But when i use userta.birthday; or userta.education_history. It is returning null.

Kindly tell me how to retrieve these details?

Thanks,

Tushar