I need to show ads in the Facebook instant game, the company I belong to hope get adID
through communication with game server to meet the audition. From Facebook link (https://developers.facebook.com/docs/games/instant-games/guides/bots-and-server-communication#backend), the game can only work like the following:
FBInstant.player.getSignedPlayerInfoAsync('custom_payload_supplied_with_request')
.then(function (result) {
// The verification of the ID and signature should happen on server side.
SendToMyServer(
result.getPlayerID(), // same value as FBInstant.player.getID()
result.getSignature(),
... //any additional parameters required for your server call
);
});