当前位置: 动力学知识库 > 问答 > 编程问答 >

javascript - Not getting any Facebook album data from Graph API response

问题描述:

My call to 'FB.api()' doesn't return anything for albums. Am I missing something here? The pics below show Graph API explorer erroring with no access token, so I'm assuming one is required?

I can use just '/me' as a param and I get back public data, so I know it's calling the server!

FB.api('/me/albums', 'get', { access_token : userToken}, function (response) {

var r = response;

for (var i = 0, l = response.data.length; i < l; i++) {

var z = 0;

}

});

分享给朋友:
您可能感兴趣的文章:
随机阅读: