Optimizing the effectiveness of tweets