Based on twitter-text-php