title: Invite facebook users from iOS application in facebook: invitation is not being sent
body: <p>I am trying to invite users in Facebook to try my iOS app (which is not in the store yet, didn't finish it yet).</p>
  
  <p>I use facebook API to authenticate a user and then try to use the following code:</p>
  
  <pre><code>- (void)shareWithFriends:(id)sender
  {
      UIAlertView *alert = [[UIAlertView alloc]
                            initWithTitle:@"Invite Friends"
                            message:@"If you enjoy using this app, would you mind taking a moment to invite a few friends that you think will also like it?"
                            delegate:self
                            cancelButtonTitle:@"No Thanks"
                            otherButtonTitles:@"Tell Friends!", nil];
      [alert show];
  }
  
  - (void)alertView:(UIAlertView *)alertView
  didDismissWithButtonIndex:(NSInteger)buttonIndex {
      if (buttonIndex == 0) {
          // User has clicked on the No Thanks button, do not ask again
          NSLog(@"Chitty user says he doesn't wanna share");
      } else if (buttonIndex == 1) {
          // User has clicked on the Tell Friends button
          [self performSelector:@selector(sendRequest) withObject:nil afterDelay:0.5];
      }
  }
  
  - (void)sendRequest {
      // Display the requests dialog
  
      NSMutableDictionary* params = [NSMutableDictionary dictionaryWithObjectsAndKeys:nil];
      [FBWebDialogs presentRequestsDialogModallyWithSession:nil
                                                    message:[NSString stringWithFormat:@"Try this app, brah!"]
                                                      title:nil
                                                 parameters:params
                                                    handler:^(FBWebDialogResult result, NSURL *resultURL, NSError *error) {
                                                        if (error) {
                                                            // Case A: Error launching the dialog or sending request.
                                                            NSLog(@"Error sending request.");
                                                        } else {
                                                            if (result == FBWebDialogResultDialogNotCompleted) {
                                                                // Case B: User clicked the "x" icon
                                                                NSLog(@"User canceled request.");
                                                            } else {
                                                                NSLog(@"Request Sent.");
                                                            }
                                                        }}];
  
  
  }
  </code></pre>
  
  <p>However, when I select users to who I want to send the invites to and then hit Send. Nothing happens. I do get "Request Sent." through NSLog but my friend is not receiving it.</p>
  
  <p>Any ideas?</p>