XMPP 聊天 API 超时

发布于 2024-12-22 19:44:44 字数 212 浏览 2 评论 0原文

我正在尝试通过 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 技术交流群。

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

发布评论

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

评论(1

帅哥哥的热头脑 2024-12-29 19:44:44

由于您正在做基于网络的工作,因此使用 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/

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