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

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

问题描述

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

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显示多个id.所以发送这些邀请就像它应该的那样工作.问题是这些 apprequests 不像通常那样显示为通知,而是唯一可以找到它们的地方 这里.

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.

一个是您的应用程序缺少 Canvas.只需在 Facebook Developers 的应用面板中添加即可.

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.

希望有所帮助.

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

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