V
V
Vadim Frolov2017-10-18 15:07:46
Facebook
Vadim Frolov, 2017-10-18 15:07:46

Why does /me/albums return an empty list?

The application is published, I log in as an administrator, there are albums, there are photos.
FB.getLoginStatus(function(response) {
if (response.status == 'connected') {
FB.api('/me/albums', function(response) {
console.log(response.data); // Comes empty list, why?
});
} else {
FB.login(function(response) {
onLogin(response);
}, {scope: 'user_friends, email, user_photos'});
}
});

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question