title: FQL query with v3.1 Facebook SDK for iOS to get birthday and email
body: <p>Can anyone help me. I cannot figure out how to make a single FQL query using the latest Facebook SDK (v 3.1) for iOS to get birthday and email of user's friend. When I query for fields like name i get the correct value but get null for email and birthday field.</p>
  
  <p>Here is my code</p>
  
  <pre><code>- (void)facebookViewControllerDoneWasPressed:(id)sender {
  
      // we pick up the users from the selection, and create a string that we use to update the text view
      // at the bottom of the display; note that self.selection is a property inherited from our base class
      for (id&lt;FBGraphUser&gt; user in _friendPickerController.selection) {
          _nameTxt.text = user.name;
          NSString *fql = [NSString stringWithFormat:@"SELECT email, birthday, name FROM user WHERE uid = %@ ",user.id];
          NSMutableDictionary *params = [NSMutableDictionary dictionaryWithObject:fql forKey:@"q"];
          [FBRequestConnection startWithGraphPath:@"/fql"
                                       parameters:params
                                       HTTPMethod:@"GET"
                                completionHandler:^(FBRequestConnection *connection,
                                                id result,
                                                        NSError *error) {
                                    if (error) {
                                        NSLog(@"Error: %@", [error localizedDescription]);
                                    } else {
                                        NSLog(@"Result: %@", result);
                                    }
                                }];
  
      }
      [self.navigationController dismissModalViewControllerAnimated:YES];
  }
  </code></pre>
  
  <p>I'm getting value for name but null for email and birthday.</p>
  
  <p>Thanks</p>