IOS Facebook api, apprequests sent but not received?

I am currently working on an iOS application and I am using apprequests to invoke a dialog box to send a request. I see that everything is working fine (I got a dialog termination), but the user does not receive the request! I work with an FB test application (not public), I think if something is missing for me when setting up an FB application? Or is there a permission that I must allow?

Here is a small snippet of my code:

-(void)appRequestsWithMessage:(NSString )message { NSMutableDictionary params = [NSMutableDictionary dictionaryWithObjectsAndKeys: message, @"message", nil]; [facebook dialog:@"apprequests" andParams:params andDelegate:self]; } 
+4
source share
2 answers

To enable Facebook apps, you must enable “Facebook App” in the application settings and specify “Canvas URL” and “Protected Canvas URL”.

+1
source

Have you added the receiving user as a tester to your Facebook administration page? While you are in sandbox mode, only users added as testers (or any other position) can see, interact and receive requests from our application.

Check the settings page for your application.

0
source

Source: https://habr.com/ru/post/1379065/


All Articles