View Issue Details

IDProjectCategoryView StatusLast Update
0030539Marketplace ExtensionsFacebook Instant GamesPublic2019-07-10 15:16
ReporterMark AlexanderAssigned ToAntanas Budvytis 
PriorityHighSeverityB - MajorReproducibility100%
Status AssignedResolutionOpen 
Summary0030539: Facebook Instant Games: A number of functions are broken and only return "undefined"
DescriptionWhile testing the Facebook Instant Games extension to update the docs, I found that a number of functions weren't working and only returned "undefined". This was tested using SDK verison 6.0, 6.1 and 6.2.

The functions are:
FBInstantGames_GetContextID
FBInstantGames_GetPlayerID
FBInstantGames_GetPlayerName
FBInstantGames_GetPlayerPic
Steps To ReproduceThe demo is available here: https://yoyogames.zendesk.com/hc/en-us/articles/360001723511

Add the following into the controller object of the YY Dungeon demo somewhere after the initialise function:

show_debug_message("INSTANT GAMES >>>>>>>> Context ID = " + string(FBInstantGames_GetContextID()));
show_debug_message("INSTANT GAMES >>>>>>>> Player ID = " + string(FBInstantGames_GetPlayerID()));
show_debug_message("INSTANT GAMES >>>>>>>> Player Name = " + string(FBInstantGames_GetPlayerName()));
show_debug_message("INSTANT GAMES >>>>>>>> Player Name = " + string(FBInstantGames_GetPlayerPic()));

Upload to Facebook and check the console output for the values.
TagsNo tags attached.

Activities

There are no notes attached to this issue.