2017-03-01 10 views
0

昨日、Unity for Unityで作ったゲームを投稿したとき、共有ボタンが完全に働いて、私が入れたすべての情報が表示されました。しかし、今日はタイトルと画像の親指だけが表示されています。私は絶対に何も変えていないので、どこに問題がありますか?Unity facebook share button

public void Share(){ 
     FB.ShareLink(
      contentTitle: "I scored " + GameController.instance.score + " on Flash Football. Can you beat my score?", 
      contentURL: new System.Uri("https://play.google.com/store/apps/details?id=com.flash.football"), 
      photoURL: new System.Uri("http://i.imgur.com/mQLDue5.png"), 
      contentDescription: "Try to click the ball to score a point. It is harder than it looks. Click to learn more.", 
      callback: OnShare); 
    } 

    private void OnShare(IShareResult result){ 
     if (result.Cancelled || !string.IsNullOrEmpty(result.Error)) 
      Debug.Log("Share error: " + result.Error); 
     else if (!string.IsNullOrEmpty(result.Error)) 
      Debug.Log(result.PostId); 
     else 
      Debug.Log("Success"); 
    } 

答えて

0

Facebook SDKを更新してみてください。 Facebookは時にはすべてのバックハンド呼び出しを変更することがあり、エラーが発生する可能性があります。