public void PostScore(int score) { if (!FB.IsLoggedIn) { return; } if (!FacebookUtils.HasPublishActions()) { return; } var query = new Dictionary <string, string>(); query["score"] = score.ToString(); FB.API("/me/scores", HttpMethod.POST, result => { if (result.Error != null) { Toast.instance.ShowMessage(result.Error); } }, query); }