opened 07:27AM - 21 Mar 18 UTC
closed 10:42AM - 17 May 19 UTC
improvement
The payload passed to fbinstant.update() must include an image. This is typicall…y a screenshot or some other visuals that show the current progress of the game.
Add a function to properly base64 encode and format the `image` value.
Look into Canvas.toDataURL and also dig into the Defold-Screenshot extension on HTML5.
Blank/empty image:
"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAADElEQVQImWNgoBMAAABpAAFEI8ARAAAAAElFTkSuQmCC"