|
@@ -67,12 +67,12 @@ function testAPI() { // Testing Graph API after login. See
|
|
|
FB.api('/me/?fields=id,name,email', function(response) {
|
|
|
console.log('FB成功登入: ' + JSON.stringify(response));
|
|
|
|
|
|
- // 設定欄位預設值
|
|
|
- $('#email').text(response.email);
|
|
|
- $('#name').text(response.name);
|
|
|
+ // // 設定欄位預設值
|
|
|
+ // $('#email').text(response.email);
|
|
|
+ // $('#name').text(response.name);
|
|
|
|
|
|
- // 隱藏FB登入按鈕
|
|
|
- $('#fb_login').hide();
|
|
|
+ // // 隱藏FB登入按鈕
|
|
|
+ // $('#fb_login').hide();
|
|
|
});
|
|
|
}
|
|
|
</script>
|