没有显示Facebook应用程序请求的通知 [英] Notification for facebook app requests not showing up
问题描述
我为网站创建了一个应用程序,并为其指定了网址. (站点URL实际上不是真实的.出于开发目的,它在我的本地主机名文件中被覆盖.这有关系吗?).
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?).
我使用示例代码创建请求对话框来发送请求到另一个facebook帐户.我使用了多用户界面,但没有to:字段.当我在另一个Facebook帐户中刷新页面时,我在世界图标上看到一个红色1秒钟,但随后消失了,没有任何通知.每次我发送请求时都会执行此操作.我的请求被立即删除有什么问题吗?我是否以某种方式配置了我的应用程序错误?
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?
推荐答案
我遇到了完全相同的问题,我可以通过在 https://developers.facebook.com/apps 应用基本信息,添加应用域和画布网址...我怀疑它仅适用于画布网址,因为这是通知链接到的网址.
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.
希望有帮助,
欢呼!
这篇关于没有显示Facebook应用程序请求的通知的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!