Facebook 应用程序请求的通知未显示

发布于 2024-12-23 08:30:27 字数 359 浏览 5 评论 0原文

我为网站创建了一个应用程序,并为其指定了一个网站 URL。 (该站点 url 实际上不是真实的。出于开发目的,它在我的本地主机名文件中被覆盖。这有关系吗?)。

我使用创建请求对话框的示例代码将请求发送到另一个facebook帐户。我使用多用户界面,没有 to: 字段。当我刷新其他 Facebook 帐户中的页面时,我会在世界图标上看到一个红色 1 的瞬间,但随后它就消失了,并且找不到任何通知。每次我发送请求时它都会执行此操作。我的请求立即被删除是不是有什么问题?我的应用程序是否在某些方面配置错误?

I created an application for a website and gave it a site url. (The site url is actually not real. It is overridden in my local hostname file for development purposes. Does this matter?).

I used the sample code for creating a request dialog to send requests to another facebook account. I used the multi-user interface, without the to: field. When I refresh the page in my other facebook account, I see a red 1 on the world icon for just a split second, but then it disappears and there is no notification to be found. It does this every time I send a request. Is there something wrong with my requests that they are getting deleted instantly? Have I configured my app wrong in some way?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

眼眸印温柔 2024-12-30 08:30:27

我遇到了完全相同的问题,我可以通过在 https:// 的网站部分输入网址来解决此问题Developers.facebook.com/apps 应用程序基本信息,添加应用程序域和画布 URL ...我怀疑它仅适用于画布 URL,因为这是通知链接到的 URL。

希望有帮助,

干杯!

I have had the exact same problem, I was able to fix this by entering a url in the Website part of https://developers.facebook.com/apps apps basic information, add an app domain and a canvas url ... i suspect it will work with only the canvas url since this is the url where the notification links to.

hope it helps,

cheers!

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文