1
我正在使用Facebook的XMPP聊天服務,並且需要從服務器獲取較舊的消息。我可以在客戶端上使用XEP-0136來做到這一點,還是有另一種更常用的方法?Facebook XMPP聊天服務器是否實現郵件歸檔? (XEP-0136)
我正在使用Facebook的XMPP聊天服務,並且需要從服務器獲取較舊的消息。我可以在客戶端上使用XEP-0136來做到這一點,還是有另一種更常用的方法?Facebook XMPP聊天服務器是否實現郵件歸檔? (XEP-0136)
只是想出了自己Facebook沒有實現該功能。我得到這個答覆發送智商:
<iq xmlns='jabber:client' from='chat.facebook.com' to='[email protected]/Mac-Pro-di-Michele_65563c5f_4D689E59FB8A5' type='error' id='pref1'>
<pref xmlns='urn:xmpp:archive'/>
<error code='501' type='cancel'>
<feature-not-implemented xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/>
</error>
</iq>
有沒有辦法知道,很可能它不支持,因爲Facebook是不符合xmpp。大多數xmpp服務器不支持此功能。