XMPP 聊天 API 超时
我正在尝试通过 php 进行基于网络的 facebook 聊天,我阅读了文档并找到了一个很好的示例来开始。
我正在使用 x-facebook-platform 身份验证方法。 由于这个原因,我可以登录并发送消息,但问题是身份验证过程需要很长时间,有时我会超时。
你们能告诉我为什么吗? 我发现脚本在发送对 Facebook 挑战的响应后变得非常慢。
谢谢你=)。
Im trying to do a web-based facebook chat via php, i read the docs and find a good sample to start.
I'm using the x-facebook-platform authentication method.
I can log in and send messages thanks to this but the problem is that the authentication process takes a lot of time and sometimes i get a timeout.
Do you guys could tell me why ?
I find that the script becomes really slow after it sends the response to facebook challenge.
Thanks you =).
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
由于您正在做基于网络的工作,因此使用 javascript 可能会更好。我个人喜欢 strope.js,但是有很多选项可供选择。此页面有 9 个 javascript 客户端:
http://xmpp.org/xmpp-software/libraries/
Since you are doing webbased, you might have better luck with javascript. Personally I like strophe.js, however there are many options to choose from. This page has 9 javascript clients:
http://xmpp.org/xmpp-software/libraries/