1

我正在使用此代码获取玩家照片,但响应总是像这样的标准照片网址:https ://platform-lookaside.fbsbx.com/platform/instantgames/profile_pic.jpg?igpid=2740003129452224&height=256&width=256&ext=1585811827&hash=AeSTzH9PG8LqK8se

这个编码有什么问题?

window.onload = function() {

FBInstant.initializeAsync().then(function() {

    FBInstant.startGameAsync().then(function() {

        FBInstant.player.getSignedPlayerInfoAsync().then(function (result) {

            console.log(FBInstant.player.getPhoto());

        });

    });

});

}

4

0 回答 0