Hollo in my FB Instant Game I can send invitation, with custom photo, to other user via messanger or share Instant Game video on player's time line.
But the messanger invitation is send with generic message. I have set custom CTA, text and template in fbapp-config.json but it doesn't work.
I also would like to display custom image and taxt while sharing invitation on player's time line. Do you have any idea what could be the problem?
"FBInstant.context.chooseAsync()
.then(function () {
FBInstant.updateAsync({
action: 'CUSTOM',
cta: 'Zagraj!',
image: '" & image64 & "',
text: 'test wiadomosc',
template: 'GAME_TEMPLATE', strategy: 'IMMEDIATE', notification: 'NO_PUSH'}) });"
{
"instant_games": {
"custom_update_templates": {
"GAME_TEMPLATE": {
"example": "Test tekst do wyswietlenia!",
}
},
"orientation": "PORTRAIT",
"navigation_menu_version": "NAV_FLOATING",
"match_player_config": {
"min_context_size": 2,
"max_context_size": 20
}
}
}