Search the Community
Showing results for tags 'chat'.
Hi, there. I'd like to know if it's possible to use a chat system here (PHP, JS, Websocket). I have a chat system made in php and integrated with a socket by using JS, and in localhost, everytime I want to use it, I have to start the server first using the command below in terminal: php.exe websocket_server.php Is there any way of doing this here? If so, what are the procedures? How do I do this here? Thank you!
I am trying to connect to facebook xmpp chat server. Some months ago, the code worked fine but now it does not work and it runes and runs until timed out. see the code here-- https://developers.facebook.com/docs/chat/ I am using first sample code with proper app id, app secret etc. --output-- Test platform connect for XMPP access_token: server: chat.facebook.com uid: 1792600469 app id: 100131640064548 [iNFO] Opening connection... connnection open 1X-FACEBOOK-PLATFORMPLAIN 23 45X-FACEBOOK-PLATFORMPLAIN 6< challenge xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>dmVyc2lvbj0xJm1ldGhvZD1hdXRoLnhtcHBfbG9naW4mbm9uY2U9OURCQzk2MDQ3NzAyODZBOUE4QzAzNENBMzQ4MUMzRDE= I think the timeout is due to any unsupported function. Can anyone please help me to find out if any functions used in the above code is not supported by heliohost stevie server? Please check the code in the above link(facebook docs) and help me. Thank you.