0

我遇到了麻烦...问题是,在 Facebook 上,我如何返回针对我的应用/游戏发布的所有分数的列表?

这是我的代码:

function lbInit() {
            FB.api('/' + globalFBObj.appID + '/scores', 'get', function(response) {
                console.log("Getting scores...");
                console.log(response);

                //pass array into Lboard() and construct the leaderboard
                console.log("Creating the Leaderboard...");
                Lboard(response.data); 
            });
        }

但唯一返回的是当前用户发布的分数......

我请求以下权限:范围:'email,publish_actions,user_games_activity,friends_games_activity'

4

0 回答 0