0
昨天我發佈我的遊戲是在Unity for Android中製作的時候,分享按鈕非常完美,顯示了我放入的每個信息。但是,今天它只顯示標題和圖像縮略圖。問題在哪裏,因爲我沒有改變任何東西?Unity facebook分享按鈕
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");
}