This is a little sample of a code that connect a playframework app with twitter api using websocket.