From 98b05b69350a588bb0d7ed6122321917de640620 Mon Sep 17 00:00:00 2001 From: fengyuexingzi Date: Fri, 15 Jun 2018 15:58:34 +0800 Subject: [PATCH] facebook --- auth/facebook/login.html | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/auth/facebook/login.html b/auth/facebook/login.html index 45e4a06..ae8fccf 100644 --- a/auth/facebook/login.html +++ b/auth/facebook/login.html @@ -30,11 +30,13 @@ function fbLogin() { FB.getLoginStatus(function (response) { if (response.status === 'connected') { - fbCallInfo(response); + console.log(response); + // fbCallInfo(response); } else { FB.login(function (response) { if (response.status === 'connected'){ - fbCallInfo(response); + console.log(response); + // fbCallInfo(response); } }, {scope: 'public_profile,email'}); }