PHP code example of nojimage / twitter-text-php
1. Go to this page and download the library: Download nojimage/twitter-text-php library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
nojimage / twitter-text-php example snippets
(php)
use Twitter\Text\Parser;
$parser = new Parser();
$result = $parser->parseTweet($text);