Facebook应用请求对话框保持加载/忙 [英] Facebook app request dialog box keep on loading/busy

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

问题描述

我们有一个Facebook应用程序,我们的应用程序经常使用Facebook应用程序请求对话框。大多数时候它的工作原理很好,没有任何错误和hick ups,但有时FB.ui对话框只是继续加载,不显示它需要发送的请求。
当这种情况发生在使用FB.ui对话框的任何地方时,它的行为相同,只是继续加载。
有趣的是,几个小时后,它开始正常工作(没有任何变化)



我们的每个团队成员都有一个运行在Web应用程序服务器上的他们的本地机器,我们都使用相同的Facebook应用程序ID。每当发生这种情况时,每个开发机器都可以看到它。



有没有人遇到这样的问题?

解决方案

最后我们可以找到一个解决这个问题的解决方案。以下是我们下一步工作的要点:


  1. 在运行本地服务器的每台机器上都可以看到问题。 li>
  2. 我们创建了一个新的Facebook应用程序(基本上是新的应用程序ID)来测试行为,并且与新应用程序也是一样的结果。

  3. 我们有一个常见的演示服务器,我们从未注意到这样的问题(此服务器具有不同的应用程序ID)。

我们对服务器的设置进行了更改,并将其从8080移到80端口,所有内容都开始正常工作。 >

我不明白服务器上的端口号如何导致JavaScript代码的问题。



但好消息是,在完成了一天的这个bug后,我们回到了发展轨道。


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)

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. The problem was visible on each machine where we were running local servers.
  2. We created a new facebook app (basically new app id ) to test the behavior and it was the same result with the new app too.
  3. We have one common demo server where we never noticed such a problem ( this server has different app id) .

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

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天全站免登陆