api - connect to facebook chat server, no response -


i writing php code let app connect facebook chat server xmpp client.

i have managed authentication part, , received "success" msg facebook.

i have managed several more message exchange between app , facebook server. reached point have received response contains clients jid session.

however, after send

<iq id="_xmpp_session1" type="set"><session xmlns="urn:ietf:params:xml:ns:xmpp-session"/></iq> 

i got no response facebook chat server.

anyone knows went wrong? request xml msg correct?

thanks!

from section 3 of rfc 3921, correct example is:

<iq to='example.com'     type='set'     id='sess_1'>   <session xmlns='urn:ietf:params:xml:ns:xmpp-session'/> </iq> 

make sure you've got to attribute.


Comments

Popular posts from this blog

linux - Using a Cron Job to check if my mod_wsgi / apache server is running and restart -

actionscript 3 - TweenLite does not work with object -

jQuery Ajax Render Fragments OR Whole Page -