1. Go to this page and download the library: Download saturn/twarpy 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/ */
saturn / twarpy example snippets
use Twarpy\Twarpy;
$config = array(
"consumer_key" => "YOURCONSUMERKEY",
"consumer_secret" => "YOURCONSUMERSECRET"
);
$Twarpy = new Twarpy($config, THREE_LEGGED);
// Save the oauth token and oauth token secret The next time you
// run Twarpy for that user you can