App requests successful, but no notification shown

后端 未结 6 819
我寻月下人不归
我寻月下人不归 2020-12-05 03:34

I am using the normal setup for sending invites through the requests dialogue:

FB.ui(
  {
    method: \'apprequests\', 
    message: \"Please add me, I am do         


        
6条回答
  •  [愿得一人]
    2020-12-05 04:04

    There's two simple things that might cause that problem.

    One is that you application is missing the Canvas. Just add it from the your App panel in Facebook Developers.

    The second one - make sure your app is NOT in SandBox Mode. If it is it won't send any notifications. I lost hours before figuring that out and changing the code in all possible ways.

    Hope that helps.

提交回复
热议问题