Terminal-based Facebook chat based on the XMPP protocol