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
Post a Comment