User request for user application does not appear in notifications

It is very strange. I know that if you create an application for a custom application application, it does not appear anywhere.

but in this case I tried the FB.ui dialog to create a user request for a user application. Like this:

FB.ui({method: 'apprequests', message: 'I invite you for a coffee together', to: xxxxxxxx }); 

It opens a dialog box and successfully sends a request.

but the problem is that the recipient does not receive notification of the application request in any way.

I tried disabling sandbox mode and all that, but there is no way to notify the recipient of the offer they received: /

What am I doing wrong?

+4
source share
2 answers

Besides the Juicy tip, one known issue with apprequests is that they only work with canvas applications.

therefore, even if your application is a website or just a tab, without a canvas (application on facebook) the request is never displayed. you will need to add the code to the canvas url to redirect the user to the right place when the user accepts the request.

Also keep in mind that if you use the new auth modal dialog box and authenticated referrals, the receiving user receives an error message when he wants to accept the request. see http://developers.facebook.com/bugs/191961117570028

+4
source

Make sure the request is sent when your application is disconnected. If it was sent when the application was in sandbox mode, this request will not be displayed if the isolated sandbox is disabled.

It is important to note that changes in the application settings may be inactive, and you need to wait a couple of minutes (no need to wait hours for this!) After disabling sandbox mode.

If you still donโ€™t see user requests in notifications that were sent by another user in a public application, enter the error using the Facebook Bug tool .

+1
source

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


All Articles