title: I have FB friends images and names in custom table view. How to get selected row in FB ID's and send request to multiple friends?
body: <p>I have got single FB ID's and it's not working in multiple selection.I got custom table view 
  in FB friend list. How to get selected row FB ID's</p>
  
  <pre><code>NSMutableArray *arryOfFBIds;
  for (id&lt;FBGraphUser&gt; user in self.friendPickerController.selection) {
  
      NSMutableArray *selection=(NSMutableArray *) self.friendPickerController.selection;
       [selection addObject:user.id];
  
  
      arryOfFBIds = [[NSMutableArray alloc] init];
      for (id&lt;FBGraphUser&gt; user in self.friendPickerController.selection)
      {
          [arryOfFBIds addObject:user.id ];
  
  
  
  
  
                  NSUserDefaults *defaults = [NSUserDefaults standardUserDefaults];
      [defaults setObject: arryOfFBIds forKey: @"SelectedFBIds"];
      [defaults synchronize];
          NSLog(@"array of fb id:%@",arryOfFBIds);
      }}
  
  
  
  
  NSMutableDictionary* params2 =   [NSMutableDictionary dictionaryWithObjectsAndKeys:@"Invite to on Ensmbl", @"description", @"http://placebogames.com/", @"link",
                                   // 3. Suggest friends the user may want to request, could be game context specific?
                                   [arryOfFBIds componentsJoinedByString:@","],@"to",  nil];
  NSLog(@"qwer:%@",params2);
  
  
  
  [FBWebDialogs presentFeedDialogModallyWithSession:[FBSession activeSession] parameters:params2  handler:^(FBWebDialogResult result, NSURL *resultURL, NSError *error)
  {
       NSLog(@"error===&gt;%@,resultURL===&gt;%@",error,resultURL);
   } ];
  
  
  }
  </code></pre>