Search the Community
Showing results for tags 'instantgames'.
-
How to invite friends 1-4 friends in one context. I saw an invite multiple friends one at a time in Ludo World and make an lobby with 4 people. when i searched through FB SDK Documentation i didn't see an option to invite multiple friends but only one on one contexts functions. Instant Games
- 1 reply
-
- phaser3
- instantgames
-
(and 1 more)
Tagged with:
-
i try to submit score to leaderboard but got an error like this: code: "LEADERBOARD_NOT_FOUND" message: "A leaderboard with the name "Leaderboard.0" was not found", after call FBInstant.initializeAsync( ) and FBInstant.startGameAsync(), i call this FBInstant.context .createAsync('100') .then(function() { //bla bla }); i dont undestand why context id became 0 instead 100, thanks!!
-
Hey, guys! Did anybody experience this problem with shareAsync? Basically, it seems like shareAsync promise resolves too early and it also depends on a platform. Here is how it looks like in my code: case SHARE_ASYNC: if (p_param) { FBInstant .shareAsync( p_param ) .then( function() { console.log( "*** FBInstant.shareAsync() ok" ); if (p_callback) p_callback( null ); }) .catch(function( p_err ) { console.log( "*** FBInstant.shareAsync() failed: " ); console.log( p_err ); if (p_callback) p_callback( p_err ); }) } else { console.log( "***UPDATE_ASYNC: invalid parameter" ); } break; So, on: 1 On mobile I get *** FBInstant.shareAsync() ok whenever I tap on empty part of the screen in order to close native sharing dialog. 2 On PC I get *** FBInstant.shareAsync() ok whenever I click on Share button while native Fb dialog is being opened. Along with that, Fb throws some POST exceptions (screenshot is attached) I feel like instead, regardless of two cases, I should get *** FBInstant.shareAsync() ok whenever a user clicks Share button (in native window) and *** FBInstant.shareAsync() failed whenever he closes the native dialog. And, of course, no exceptions Any feedback is appreciated!
- 1 reply
-
- fb
- instantgames
-
(and 4 more)
Tagged with: