@ankitdm wrote:
Hi,
I want to save my user highScore with facebook and to do that i have written following graph api
sdkbox::FBAPIParam params;
params.insert(std::pair<std::string, std::string>(
"score", "100"));
sdkbox::PluginFacebook::api("/me/scores", "POST", params, "UserScore");But the game crashes as soon as this is executed with the following error
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** setObjectForKey: object cannot be nil (key: message)'
*** First throw call stack:
(0x22c6e2eb 0x2243adff 0x22b892a9 0x56865b 0x587b79 0x58da3f 0x2347252d 0x233d3eff 0x233c62ef 0x234747ed 0xececab 0xed3771 0x22c30fc5 0x22c2f4bf 0x22b81bb9 0x22b819ad 0x23dfbaf9 0x26e6dfb5 0xdde17 0x22834873)
libc++abi.dylib: terminating with uncaught exception of type NSExceptionWhat is it that i am doing wrong here ?
Posts: 6
Participants: 2