Jump to content

TypeError: leaderboard.getConnectedScores is not a function


kavin404
 Share

Recommended Posts

I am trying to invoke getConnectedScores method in facebook instant games plugin in phaser

 this.facebook.once('getleaderboard', function (leaderboard) {
            this.leaderboard = leaderboard;

            console.log(leaderboard);

            leaderboard.getPlayerScore();
            this.leaderboard.on('getconnectedscores', function (score) {
                console.log(score);
            }, this);

            this.leaderboard.getConnectedScores();
          
}, this);


this.facebook.getLeaderboard('Omi-game');

 

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...