var ogObject:Object = {score:5000};
Facebook.getInstance().requestWithGraphPath("/me/scores",ogObject,"POST", errorHandler);
Returns error:
{"code":400,"body":{"error":{"type":"OAuthException","code":100,"message":"(#100) Param score must be a number"}},"accessToken":"CAAVZ...."}
while GET score works fine
Facebook.getInstance().requestWithGraphPath("me/scores",null,"GET",errorHandler);
Help would really be appriciated,I am stuck for hours searching and trying different variants :(
figured it out. If someone gets stuck as I did
var ogObject:Object = {score:"5000"};
Facebook.getInstance().requestWithGraphPath("/me/scores",ogObject,"POST", errorHandler);
I am having trouble to POST score parameter
var ogObject:Object = {score:5000}; Facebook.getInstance().requestWithGraphPath("/me/scores",ogObject,"POST", errorHandler); Returns error: {"code":400,"body":{"error":{"type":"OAuthException","code":100,"message":"(#100) Param score must be a number"}},"accessToken":"CAAVZ...."}
while GET score works fine Facebook.getInstance().requestWithGraphPath("me/scores",null,"GET",errorHandler);
Help would really be appriciated,I am stuck for hours searching and trying different variants :(