Re: [rtcweb] Facebook is not SIP

Iñaki Baz Castillo <> Thu, 20 October 2011 09:46 UTC

Return-Path: <>
Received: from localhost (localhost []) by (Postfix) with ESMTP id DC1F021F8ADC for <>; Thu, 20 Oct 2011 02:46:43 -0700 (PDT)
X-Virus-Scanned: amavisd-new at
X-Spam-Flag: NO
X-Spam-Score: -2.625
X-Spam-Status: No, score=-2.625 tagged_above=-999 required=5 tests=[AWL=0.052, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, MIME_8BIT_HEADER=0.3, RCVD_IN_DNSWL_LOW=-1]
Received: from ([]) by localhost ( []) (amavisd-new, port 10024) with ESMTP id cWv26U6KWbRk for <>; Thu, 20 Oct 2011 02:46:43 -0700 (PDT)
Received: from ( []) by (Postfix) with ESMTP id 4802D21F84F8 for <>; Thu, 20 Oct 2011 02:46:43 -0700 (PDT)
Received: by vcbfo1 with SMTP id fo1so2739916vcb.31 for <>; Thu, 20 Oct 2011 02:46:41 -0700 (PDT)
MIME-Version: 1.0
Received: by with SMTP id p17mr724060vcq.41.1319104001649; Thu, 20 Oct 2011 02:46:41 -0700 (PDT)
Received: by with HTTP; Thu, 20 Oct 2011 02:46:41 -0700 (PDT)
In-Reply-To: <>
References: <> <>
Date: Thu, 20 Oct 2011 11:46:41 +0200
Message-ID: <>
From: Iñaki Baz Castillo <>
To: Harald Alvestrand <>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Subject: Re: [rtcweb] Facebook is not SIP
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Real-Time Communication in WEB-browsers working group list <>
List-Unsubscribe: <>, <>
List-Archive: <>
List-Post: <>
List-Help: <>
List-Subscribe: <>, <>
X-List-Received-Date: Thu, 20 Oct 2011 09:46:44 -0000

2011/10/20 Harald Alvestrand <>:
> On 10/20/11 11:23, Iñaki Baz Castillo wrote:
>> Hi all,
>> When two Facebook users chat via web, they are already using a
>> signaling protocol in-the-wire, which one? The *custom* signaling
>> protocol Facebook designed.
> They're using XMPP:

It changes nothing. If RTCweb decides a standard in-the-wire signaling
protocol different than XMPP we are also forcing facebook to use a
protocol different than XMPP for audio/video signaling (in-the-wire).

Anyhow, this is what I capture from the network when I send a IM
message ("hello") to other user visiting Facebook website:

POST /ajax/chat/send.php?__a=1 HTTP/1.1'
User-Agent: Mozilla/5.0 (Ubuntu; X11; Linux x86_64; rv:10.0a1)
Gecko/20111017 Firefox/10.0a1'
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8'
Accept-Language: en-us,en;q=0.5'
Accept-Encoding: gzip, deflate'
DNT: 1'
Connection: keep-alive'
X-SVN-Rev: 460802'
Content-Type: application/x-www-form-urlencoded; charset=UTF-8'
Content-Length: 399'
Cookie: datr=ZuyfTjurvmsqvYVBDcXF8u; c_user=104442654509775; L=2;
lu=RgQytVtJJBQSvWUNOYzs0oQg; sct=1319153603;
xs=60%3A1c179a6dfb7f08277477b20e778bd391; p=112;
Pragma: no-cache'
Cache-Control: no-cache'

Could you explain me where do you see "XMPP" there? Please note that
I'm speaking about the in-the-wire signaling between the webbrowser
and the server, and the above HTTP POST is the signaling message
Facebook is using for sending a IM.

> Unfortunately Facebook has chosen (so far) to not participate in federation.

Federation does not matter here. I'm just speaking about the
in-the-wire signaling protocol between web users visiting Facebook
website. Federation is another topic IMHO.

> Rest of message deleted, since it's based on a false premise.

Which premise?


Iñaki Baz Castillo