Я хочу войти в Facebook, используя goutte в laravel. Это документ для входа в github, но я хочу войти в facebook и получить все имена людей, доступных на странице. Что я пытаюсь
$crawler = $client->request('GET', 'https://www.facebook.com');
$form = $crawler->selectButton('Log In')->form();
$crawler = $client->submit($form, array('email' => 'fabpot', 'pass' => 'xxxxxx'));
// submit that form
$crawler = $client->submit($form);
echo $crawler->html();
return $this->render('scraperBundle:Thing:index.html.twig');
Но я получаю ошибку:
InvalidArgumentException in Crawler.php line 822:
The current node list is empty.
Пожалуйста, помогите мне.