我正在用 xmpp 制作 facebook 聊天 api。我已经从http://developers.facebook.com/docs/chat/下载了代码
但是,我收到错误
Test platform connect for XMPP
access_token: <access_token_code>
server: chat.facebook.com
uid: 100002805874899
app id: 434781259869574
[INFO] Opening connection...
Warning: fsockopen() [function.fsockopen]: unable to connect to chat.facebook.com:5222 (A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. ) in C:\domains\telecomlijn.nl\wwwroot\wordpress\fbchat.php on line 52
A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. (10060)
An error ocurred
下面是我的代码
请帮助我修复错误并成功运行应用程序...