function handleMessagingEvents(event) {
    switch (event.event) {
      // "read_receipt" event triggers when other people read the user's messages.
      case "read_receipt":
        var fmtMsg;
        try {
          fmtMsg = utils.formatReadReceipt(event);
        } catch (err) {
          globalCallback({
            error: "Problem parsing message object. Please open an issue at https://github.com/Schmavery/facebook-chat-api/issues.",
            detail: err,
            res: event,
            type: "parse_error"
          });
          return true;
        }
        globalCallback(null, fmtMsg);
        return true;
        // "read event" triggers when the user read other people's messages.
      case "read":
        var fmtMsg;
        try {
          fmtMsg = utils.formatRead(event);
        } catch (err) {
          globalCallback({
            error: "Problem parsing message object. Please open an issue at https://github.com/Schmavery/facebook-chat-api/issues.",
            detail: err,
            res: event,
            type: "parse_error"
          });
          return true;
        }
        globalCallback(null, fmtMsg);
        return true;
      default:
        return false;
    }
  }
Get an object maybe representing an event. Handles events it wants to handle
and returns true if it did handle an event (and called the globalCallback).
Returns false otherwise.