isValid() && $response->getUrl()->match([ 'www.facebook.com/*', ]); } /** * {@inheritdoc} */ protected function init() { parent::init(); $this->providers = ['facebook' => new Api\Facebook($this)] + $this->providers; } }