facebook chat api - php

后端 未结 1 902
故里飘歌
故里飘歌 2021-02-14 17:03

I have successfuly managed to login to facebook via xmpp protocol.

I used PHP code provided in facebook\'s documentation found here:



        
相关标签:
1条回答
  • 2021-02-14 17:24

    Send <presence /> to go online.
    The server will then send you several <presence from='friend1@chat.facebook.com/deviceID' /> indicating online friends.

    Send a message like this:

    <message from='juliet@example.com' to='romeo@example.net'>
        <body>Art thou not Romeo, and a Montague?</body>
    </message>
    
    0 讨论(0)
提交回复
热议问题