plugins()->get('Facebook')) { if (empty(\Idno\Core\site()->session()->currentUser()->facebook)) { $login_url = $facebook->getAuthURL(); } else { $login_url = \Idno\Core\site()->config()->getURL() . 'facebook/deauth'; } } ?>