2015-09-19 22 views
-1

我有一個用戶標識的列表(可能或不可能是我的朋友)我想獲得所有關於它們的公共可能的信息。但是,我只是回到名稱,身份證和照片。我哪裏錯了?無法獲得工作記錄/電子郵件和其他信息

 FB.login(function(){ 
     /* make the API call */ 
     FB.api(
      "/{event-id}/attending", 
      function (response) { 
       if (response && !response.error) { 

       var array = response.data; 

       array.forEach(function(eachUser){ 
        //console.log(eachUser); 

       FB.api(
         "/"+ eachUser.id, 
         function (response) { 
          if (response && !response.error) { 
          console.log(response); 
          } 
         } 
        ); 
       }); 

       } 
      } 
     ); 
    }, {scope: 'user_events, user_education_history , user_about_me , user_work_history , user_location , user_website'}); //,age_range, bio , context , education 

回答

0

即使設置爲公開,所有其他數據僅在用戶授權您的應用程序並獲得相應許可時纔可用。因此,在出席用戶列表中,名稱/ ID /照片是唯一可以獲得的數據。

相關問題