diff --git a/maintest.php b/maintest.php new file mode 100644 index 0000000..9ebc352 --- /dev/null +++ b/maintest.php @@ -0,0 +1,29 @@ +load(); + $client = new Client([ + getenv('CONSUMER_KEY'), + getenv('CONSUMER_SECRET'), + getenv('ACCESS_TOKEN'), + getenv('ACCESS_TOKEN_SECRET'), + ]); + $words = implode(' ', array_slice($argv, 1)); + try { + $client->post('statuses/update', [ + 'status' => "@java_shit 👉👉👉 {$words}ðŸĪ” 👈👈👈 こãŪč‹ąčŠžæ•™ãˆãĶ〜〜〜 🙏🐷ðŸĶ‚💖😀", + ]); + } catch (\RuntimeException $e) { + error_log($e->getMessage()); + } + } +} + +(new MainTest)->test();