unable to connect to chat.facebook.com:5222 XMPP
<p>I am making facebook chat api with xmpp. I have downloaded the code from <a href="http://developers.facebook.com/docs/chat/" rel="nofollow">http://developers.facebook.com/docs/chat/</a></p>

<p>But, I m getting error</p>

<pre><code>Test platform connect for XMPP
access_token: &lt;access_token_code&gt;
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
</code></pre>

<p>Below is my code</p>

<p>please help me out to fix the bug and run the app successfully...</p>
