应用请求成功,但没有显示任何通知 [英] App requests successful, but no notification shown

查看:177
本文介绍了应用请求成功,但没有显示任何通知的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用通过请求对话框发送邀请的正常设置:

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

FB.ui(
  {
    method: 'apprequests', 
    message: "Please add me, I am doing the same, thanks!"
  }, 
  function(response) {
   console.log(response);
  }
);

响应成功, response.to 显示多个ids。所以发送这些邀请是应该的。问题是,这些应用请求不会像通常那样显示为通知,而是唯一找到它们的地方这里

The response is successful, response.to shows multiple ids. So sending these invites works like it should. The problem is that these apprequests are not shown up as notifications like they usually do, instead the only place to find them here.

API是否已更改?寻找答案给了我没有结果,虽然我从2013年2月15日发现了这个错误报告。

Has the API changed? Looking for answers has given me no results, though I did find this bug report from February 15th 2013.

Facebook是否再次​​测试,还是更改了API,但不是文档?我真的很感激任何见解!

Is Facebook just testing yet again, or has the API changed but not the documentation? I am truly grateful for any insights!

推荐答案

有两个简单的事情可能会导致该问题。

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

一个是你的应用程序缺少画布。只需从Facebook开发人员的应用程序面板添加它。

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

第二个 - 确保您的应用程序不在SandBox模式。如果是不发送任何通知。我花了几个小时才想出来,并以所有可能的方式更改代码。

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.

希望有所帮助。

这篇关于应用请求成功,但没有显示任何通知的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆