Skip to content

Commit

Permalink
facebook me
Browse files Browse the repository at this point in the history
  • Loading branch information
fengyuexingzi committed Jun 16, 2018
1 parent 5aa8b21 commit 4af927d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions auth/facebook/login.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,12 @@
FB.getLoginStatus(function (response) {
if (response.status === 'connected') {
console.log(response);
fbCallInfo();
//fbCallInfo();
} else {
FB.login(function (response) {
if (response.status === 'connected') {
console.log(response);
fbCallInfo();
// fbCallInfo();
}
}, {scope: 'public_profile,email'});
}
Expand Down

0 comments on commit 4af927d

Please sign in to comment.