Twitter app functionality from Hartl book