require_once "twitter/twitteroauth.php";
$CONSUMER_KEY = "бла";
$CONSUMER_SECRET = "блабла";
$OAUTH_TOKEN = "бла-бла";
$OAUTH_SECRET = "блабла";
$connection = new TwitterOAuth($CONSUMER_KEY, $CONSUMER_SECRET, $OAUTH_TOKEN, $OAUTH_SECRET);
$content = $connection->get('account/verify_credentials');
$quote='123';
$connection->post('statuses/update', array('status' => $quote));