Added tweet shortening logic