/**
* @param Article $article
* @param string $header
*/
public function provide(Article $article, $header = "")
{
$this->twitter->post("statuses/update", array("status" => "{$header} {$article->getTitle()} >> http://matomepp.net/p/{$article->getArticleId()}"));
if ($this->twitter->getLastHttpCode() != 200) {
throw new \RuntimeException(json_encode($this->twitter->getLastBody()));
}
$this->storeTweets($article);
}