Note that there are some explanatory texts on larger screens.

plurals
  1. POiOS : No Notification Received from Facebook App Request
    text
    copied!<p>I have to integrate app request on my app but it doesn't seem to work. I searched about it and I can't find a clear answer. Some replies from the reports said that the request can be found in <a href="https://www.facebook.com/appcenter/requests" rel="nofollow">Facebook App Center</a> but I didn't receive any request and also, no notification was received.</p> <p>I'm using <code>Facebook SDK for iOS v3.8</code> to send the request. There's no error and there's a request, it was always successful but still no notification.</p> <p>Here is the code I'm using to send the request.</p> <pre><code>- (void)sendAppInvite:(NSString *)message { NSMutableDictionary *params = [NSMutableDictionary dictionaryWithObjectsAndKeys:@"app_non_users", @"filters", nil]; [FBWebDialogs presentRequestsDialogModallyWithSession:[FBSession activeSession] message:message title:nil parameters:params handler:^(FBWebDialogResult result, NSURL *resultURL, NSError *error) { if (error) { // Case A: Error launching the dialog NSLog(@"Error on app invite."); } else { if (result == FBWebDialogResultDialogNotCompleted) { // Case B: User clicked the "x" icon NSLog(@"User canceled app invite"); } else { // Case C: Dialog shown and the user clicks Cancel or Share NSDictionary *urlParams = [self parseURLParams:[resultURL query]]; if (![urlParams valueForKey:@"request"]) { // User clicked the Cancel button NSLog(@"User canceled app invite"); } else { // User clicked the Send button NSString *postID = [urlParams valueForKey:@"request"]; NSLog(@"Request successful: %@", postID); } } } }]; } </code></pre> <p>I also tried to build the sample app from <code>Facebook</code>, I sent an invite. Still, no notification and no request from the app center.</p> <p>Is there something that I'm doing wrong? Also, is there a bug from <code>Facebook Request</code>? </p> <p>Thanks!</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload