The server is obviously websocket-rails, and the bitfinex website itself provides a fairly complete client (in its application-XXX.js file). When I subscribe to "ticker", I get "ticker.new" messages like this:
These are great of course, but not sufficient to build up an order book.
There's also a "trade.btcusd" (and presumably other pairs) which gives:
for every trade (presumably).
I've tried all kinds of variations of order, book, orderbook, books (with various pairs added to the end), but I can't find what to subscribe to for a realtime order book.
(of course I'm only guessing that such a thing is there)