I have implemented FBFriendPickerDelegate in my .h file and using the following delegate to retrieve information:
-(BOOL)friendPickerController:(FBFriendPickerViewController *)friendPicker
shouldIncludeUser:(id <FBGraphUser>)user
{
NSLog(@"Birthday:%@",user.birthday);
return YES;
}
but every time on NSLog I get a null value… Following is the result. I get in NSLog :
Birthday:(null) 2012-09-28 10:20:22.450
MyFacebookApp[455:207] Birthday:(null) 2012-09-28 10:20:22.451
MyFacebookApp[455:207] Birthday:(null) 2012-09-28 10:20:22.452
MyFacebookApp[455:207] Birthday:(null) 2012-09-28 10:20:22.454
MyFacebookApp[455:207] Birthday:(null)
Please tell if I am doing something wrong.
Finally got the answer….birthday can be retrieved by using Graph API
Also refer to this documentation
for more information.