/** * @param $redirectUrl * @return string */ public function __invoke($redirectUrl) { return $this->facebook->getAuthUrl($redirectUrl); }
/** * @return string */ public function __invoke() { return $this->facebook->getAuth()->getSignedRequest(); }