|
@@ -71,8 +71,12 @@ function testAPI() { // Testing Graph API after login. See
|
|
|
console.log('response.id = ' + response.id);
|
|
|
|
|
|
// 設定欄位預設值
|
|
|
- $('#email').text(response.email);
|
|
|
- $('#name').text(response.name);
|
|
|
+ console.log('response.email = ' + response.email);
|
|
|
+ $('#email').html(response.email);
|
|
|
+ console.log('response.name = ' + response.name);
|
|
|
+ $('#name').html(response.name);
|
|
|
+
|
|
|
+ console.log('隱藏FB登入按鈕');
|
|
|
|
|
|
// 隱藏FB登入按鈕
|
|
|
$('#fb_login').hide();
|