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