Facebook 应用程序请求对话框继续加载/忙碌 [英] Facebook app request dialog box keep on loading/busy

查看:17
本文介绍了Facebook 应用程序请求对话框继续加载/忙碌的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们有一个 facebook 应用程序,我们的应用程序非常频繁地使用 facebook 应用程序请求对话框.大多数情况下它运行良好,没有任何错误和故障,但有时 FB.ui 对话框只是继续加载并且不显示它需要发送的请求.当这种情况发生在使用 FB.ui 对话框的任何地方时,它的行为相同并且它只是继续加载.有趣的是,几个小时后它自己开始正常工作(不做任何改变)

We have a facebook app and our app uses facebook app request dialog very frequently. Most of the time it works pretty well without any error and hick ups, but sometime the FB.ui dialog just keeps on loading and doesn't show the request that it needs to send. When such condition occurs wherever the FB.ui dialog is used, it behaves the same and it just keeps on loading. Interesting thing is that after few hours it starts to work correctly itself (without making any changes)

我们的每个团队成员都在他们的本地计算机上运行一个 Web 应用程序服务器,并且我们都使用相同的 facebook 应用程序 ID.每当场景发生时,它在每台开发机器上都是可见的.

Each of our team member has a web application server running on their local machine and we all use the same facebook app id. Whenever the scenario occurs, it is visible on each development machine.

有人遇到过这样的问题吗?

Has anybody scene such problem ?

推荐答案

终于找到了解决这个问题的办法.以下是我们写下工作的要点:

Finally we are able to find a solution for this problem. Following are the the points we pen down to work on:

  1. 问题在我们运行本地服务器的每台机器上都可见.
  2. 我们创建了一个新的 facebook 应用程序(基本上是新的应用程序 id)来测试行为,新应用程序的结果也相同.
  3. 我们有一个通用的演示服务器,我们从未发现过这样的问题(该服务器有不同的应用程序 ID).

我们对服务器的设置进行了更改,并将其从 8080 移至端口 80,一切开始正常运行.

we made changes in the setting of our server and moved it to port 80 from 8080 and everything started to work perfectly.

我不明白为什么服务器上的端口号会导致 javascript 代码出现问题.

I don't understand how come the port number on server can cause problem for javascript code.

但好消息是,在解决这个错误一天之后,我们又回到了开发轨道.

But the good news is after spending complete one day on this bug we are back on development track.

这篇关于Facebook 应用程序请求对话框继续加载/忙碌的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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