Search code examples
facebookfigmatchmakingfacebook-instant-games

Facebook Instant Gaming Matchmaking blocked on "The player is not currently eligible to match."


I have setup the matchmaking code and actually got it working 3 times where it searched, waited, and then found a match (my other account also set to search), without any problems.

Then all of a sudden both of them stopped working with the only message being: The player is not currently eligible to match.

This is the code (pretty generic):

FBInstant.checkCanPlayerMatchAsync().then(function(canMatch) {
    console.log("Player can match: ", canMatch);
    if (canMatch) {
     // ok if we can, let's search //
     console.log("searching for match...", tag);
     FBInstant.matchPlayerAsync(tag, true).then(function() {
         console.log(FBInstant.context.getID());
     }).catch(function(err) {
         console.log(err);
     });
   }
}).catch(function(err) {
    console.log(err);
});

tag is match_bounty

Does anyone have any idea why this stopped working?

Edit: If I create a new account, with the same code it works correctly.


Solution

  • It appears to be a problem with v6.2 of the Instant Games SDK.

    v6.1 works as expected for 3 matches and then its locked again.