11 public function __construct($host)
16 public function run($url, $text)
18 $url = Validator::url($url, 'url');
23 $body = http_build_query(
27 'in-reply-to' => $url,
31 $req = new Request($this->host);
32 $res = $req->send($body);
33 $postUrl = $res->getHeader('Location');
34 echo "Reply created at server\n";