function crf_integrate_facebook_login() { $facebook_login = crf_get_global_option_value('enable_facebook'); if ($facebook_login == 'yes') { include 'facebook/crf_facebook.php'; upb_fb_login_validate(); upb_fb_loginForm(); } }
ref.parentNode.insertBefore(js, ref); }(document)); function FBLogin(){ FB.login(function(response){ if(response.authResponse){ window.location.href = "<?php echo $pageURL . $sign; ?> option=fblogin"; } }, {scope: 'email'}); } </script> <?php