public void PublishScore(int score, FacebookAPIManager.PublishScoreCallback OnPublishScore)
    {
        if (PlayerPrefs.HasKey("score"))
        {
            if (score > PlayerPrefs.GetInt("score"))
            {
                PlayerPrefs.SetInt("score", score);
                PlayerPrefs.Save();
            }
        }
        else
        {
            PlayerPrefs.SetInt("score", score);
            PlayerPrefs.Save();
        }

        if (FB.IsLoggedIn)
        {
            scoreBoardService.SaveUserScore(gameName, FB.UserId, PlayerPrefs.GetInt("score"), new Publish42Callback(OnPublishScore));
            Debug.Log("berhasil save score");
        }
    }
 public Publish42Callback(FacebookAPIManager.PublishScoreCallback callback)
 {
     this.callback = callback;
 }