1

I am using this code for getting player photo but response always standard photo url like this: https://platform-lookaside.fbsbx.com/platform/instantgames/profile_pic.jpg?igpid=2740003129452224&height=256&width=256&ext=1585811827&hash=AeSTzH9PG8LqK8se

What is the problem with this coding?

window.onload = function() {

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

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

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

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

        });

    });

});

}

msozsari
  • 11
  • 1

0 Answers0