Questions tagged [facebook-instant-games]

Use this tag for support with developing for Facebook Instant Games.

120 questions
9
votes
1 answer

Broken URL Detected

My Facebook instant app is approved, when I am switching it to live mode it shows the following error. Can anyone help me?
R R Sharma
  • 99
  • 1
  • 2
4
votes
1 answer

Facebook instant game player signature verification fails

I'm currently developing an instant game on Facebook and need to verify that the player info is authentic from facebook. Facebook provides verification through a hashed signature as documented…
Michael Samuel
  • 3,820
  • 12
  • 45
  • 85
4
votes
1 answer

Facebook Instant Game - Uploading bundled zip file gives SDK reference error from Web Hosting

When I try to upload my simple game/app, I get an error saying "Games must reference one of our supported SDKs via our CDN." I have given an SDK reference though. Isn't this the one?
4
votes
1 answer

FBInstant.updateAsync() resolves successfully but do nothing

I'm trying to call FBInstant.updateAsync() at chat context (with id=THREAD). It resolves successfully, but don't post any messages at chat. Does anybody know why is that happens? Issue was fixed, working code: FBInstant.updateAsync({ action:…
3
votes
1 answer

How and where to use FBInstant.updateAsync in facebook instant game

I am new in instant games. Please tell me how I can user FBInstant.updateAsync({ action: 'CUSTOM', cta: 'Join The Fight', image: base, template: 'play_turn', text: 'Play your turn now', data: { myReplayData: '...', …
3
votes
1 answer

Facebook Instant Games loading remote images during the game doesn't work

Game is onboarded, I receive the state of the user and all is just ready to go. I am trying to build a quiz game. I am fetching all the information from a remote server which includes image assets on a question basis. I can fetch the remote data but…
fightbulc
  • 140
  • 8
3
votes
2 answers

FBInstant.shareAsync( ) failed with 500

I'm doing the sharing in my instant game. I'm firing next req from the game: FBInstant.shareAsync( { intent: 'REQUEST', image: 'image-encoded-here', text: 'Edgar just played BASH for 9 points!', data: { myReplayData: 'message sent'…
3
votes
1 answer

Launching Facebook Instant Game from web

I am looking for a way to launch Facebook Instant Games in the native mobile app from an external site. I have managed to launch the game in the desktop site simply by extracting from the built-in play button href's (e.g.…
ThorntonStuart
  • 119
  • 4
  • 12
2
votes
0 answers

Prevent sound when phone is in silent mode in javascript

I am working on simple HTML5 game which plays sound on click of a button. I got the below response from Facebook app review team. Developer Policy 1.9 - Build a Quality Product We found that your game does not mute sound when iOS silent mode is…
pras
  • 21
  • 1
  • 2
2
votes
1 answer

How can I pass parameter through URL to Facebook instant game app?

My facebook instant game app which have following url: https://www.facebook.com/instantgames/279246242904501/ When I hit the above game URL, Facebook website load the actual game inside iframe. I just want to pass URL parameter to my game app which…
Nilay Anand
  • 330
  • 4
  • 17
2
votes
0 answers

Facebook Instant Games - Wrong Resolution on Mobile (JS/HTML5)

I am creating a Facebook Instant game using GameMaker Studio 2. It works fine on desktop browsers, but on the mobile Messenger app, the resolution gets fixed to 360*640 (or something around that). While the game goes fullscreen in the app, it seems…
2
votes
1 answer

How to add app page to test app of instant game?

I want to add one app page to my test version of instant game, following this page Setting up your bot, The page's category needs to be App Page The page's name needs to contain the name of the app. The page cannot be associated with another…
zangw
  • 43,869
  • 19
  • 177
  • 214
2
votes
1 answer

Facebook Instant Games - Playing Games with a Group of Players

Some questions for sharing and playing together with friends: 1) How can I play a game with a Facebook group? 2) Can I post an update or an invite to a group? 3) I want to have a button in the game to share the game. Where I then can select to share…
2
votes
0 answers

shareAsync error and promise not resolving

When i call shareAsync function, in chrome console gives next errors: POST https://www.facebook.com/react_composer/logging/ods/?event=bootload_start&attachment_type=MEDIA&dpr=1 404 () ErrorUtils caught an error: "
mrspd
  • 21
  • 1
2
votes
1 answer

(FB Instant games) How I can get/set screen resolution?

How can I get/set screen resolution for instant games in mobile facebook app or mesenger? I tried getting that by "window.screen.width" and "window.innerWidth", it returned me 360 pixels (but i have 980 in Chrome browser). I haven’t used any meta…
1
2 3 4 5 6 7 8