-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