@@ -76,6 +76,8 @@ function testAPI() { // Testing Graph API after login. See
document.getElementById('status').innerHTML =
'Thanks for logging in, ' + response.name + '!';
+ userId = response.email;
+
// 取得email
FB.api('/'+userId+'/?fields=id,name,email',
'GET',