Questions tagged [facebook-instant-games]

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

120 questions
0
votes
0 answers

Facebook Instant Games and Unity SDK

I use the Facebook SDK unity for authorization on the Facebook. Then I send the access token to the server to identify the user. But if I use authorization in the Facebook Instant Games, then the error falls: Blocked opening '' in a new window…
0
votes
0 answers

Facebook instant game - I'm having trouble uploading files?

when i try to upload the file i get this message: You must include a bundle config in your upload. To create a bundle config, please refer to: https://developers.facebook.com/docs/games/instant-games/sdk/bundle-config. You must include a bundle…
0
votes
1 answer

FBInstant.player.getConnectedPlayersAsync() always returns empty

my code is: let global_config = { }; window.onload = function (e) { FBInstant.initializeAsync() .then(function () { FBInstant.startGameAsync() .then(function () { var contextId = FBInstant.context.getID(); …
artwl
  • 3,502
  • 6
  • 38
  • 53
0
votes
0 answers

I can't delete instant games in the background of FB developers

We have shut down the instant game service, but cannot delete it in the developer background. No matter what method we use, we can't delete the background instant game. This problem caused us to fail to pass the login policy review, and the game…
0
votes
0 answers

Is there a way to test Facebook Instant In-app Purchases without creating a Payment Account?

I'm developing an instant game for Facebook (Meta) which have in-game purchases. I'd want to implement in-game market feature. As far as I can see, there are a three requirements for in-app purchases to work: Upload at least one game…
Petr K.
  • 43
  • 1
  • 7
0
votes
1 answer

Replacing window.localStorage implementation for Facebook Instant Games

I am preparing a game for publishing at Facebook Instant Games. My game uses Pixi.js and jQuery UI - and saves some user settings like "color theme" and "sound volume" in window.localStorage: However when trying to access it from my Instant Game, I…
Alexander Farber
  • 21,519
  • 75
  • 241
  • 416
0
votes
1 answer

Can I use ThreeJS to make 3D game in Facebook Instant Games?

I want to develop a 3D game using ThreeJS. Does facebook support this library?
0
votes
1 answer

facebook instant game not working properly on local server

the app testing was working locally as well hosting. but suddenly it occurred error when run locally. but same project after hosting the facebook work fine. please would like share your experiences with facebook instant game for this issue. thank…
0
votes
1 answer

How to use Facebook Instant Games Leaderboards and In-App Ads with LibGDX

I would like to make my LibGDX game work as a Facebook instant game. So far I have managed to set up the game client as shown in the quick start guide like this: My LibGDX Game
Harry
  • 1,021
  • 4
  • 21
  • 41
0
votes
1 answer

Facebook instant game login with JS SDK

I am trying to upload my game made with React to Facebook Instant games. I have facebook login implemented with Facebook JS SDK. But facebook instant game runs inside a sandboxed iframe which blocks any popups and I cannot run FB.login(). In instant…
0
votes
1 answer

Is there any other way to insert image in FBInstant.updateAsync

I'm experiencing a trouble with this code FBInstant.updateAsync({ action: 'CUSTOM', template: 'play_turn', cta: 'Join', text: `Test user just played. Come join in game!`, image: imagebase64encoded, }) When I run this code I get an…
0
votes
1 answer

Can't load assets from facebook instant game bundle

Does anyone know is there way to load assets from facebook instant game bundle. I'm using a Phaser 3 to render and load any assets. When I open facebook instant game on "testing" status. I get an error in console phaser.min.js:1 GET…
batnaidan
  • 11
  • 2
0
votes
0 answers

Access user location on facebook app (React.JS)

I am building a products review app with react for a certain company. They require the user's location(country) to show suitable products to review in case users open the app on their own. So, I only found getLocale() in instant games SDK and it's…
0
votes
2 answers

Facebook Instant Game JS Cookie Chrome Error

we have a game made on JavaScript and HTML. All works fine on Safari, Firefox, and on mobile App. The issue is that on Chrome, on the game page Cookies are NOT set. We usually do this: function setCookie(name, value, days) { var expires = ""; …
Ulises
  • 406
  • 7
  • 22
0
votes
2 answers

how to prevent zoom/scroll in HTLM5 or javascript

I working on simple HTML5 page and using the below code to prevent zoom/scroll.
pras
  • 21
  • 1
  • 2