0

Facebook チャットで xmpp プロキシに ejabberd を使用したい

すでに機能していますが、残念ながら、 chat.facebook.com で認証を要求すると、X-FACEBOOK-PLATFORM メカニズムは使用できません。

これはメカニズムに対するFacebookの回答です:

<mechanism>DIGEST-MD5</mechanism><mechanism>PLAIN</mechanism>

完全なFacebookの回答:

<body xmlns='http://jabber.org/protocol/httpbind' xmlns:xmpp='urn:xmpp:xbosh' xmlns:stream='http://etherx.jabber.org/streams' sid='XXX' wait='300' requests='2' inactivity='30' maxpause='120' polling='2' ver='1.6' from='chat.facebook.com' secure='true' authid='433584819' xmpp:version='1.0'>
    <stream:features xmlns:stream='http://etherx.jabber.org/streams'>
        <mechanisms xmlns='urn:ietf:params:xml:ns:xmpp-sasl'>
            <mechanism>DIGEST-MD5</mechanism>
            <mechanism>PLAIN</mechanism>
        </mechanisms>
        <register xmlns='http://jabber.org/features/iq-register'/>
    </stream:features>
</body>

X-FACEBOOK-PLATFORM メカニズムがリストにない理由を知っていますか?

ありがとうございました

4

1 に答える 1

1

私の知る限り、ejabberd は BOSH でのルーティングをサポートしていません。BOSH 経由で ejabberd サーバーでホストされている XMPP ドメインにのみ接続できます。必要なのは、Punjab のような BOSH 接続マネージャーです。

アレックス

于 2012-03-08T21:33:20.807 に答える