2017-03-01 10 views
0

어제 Android 용 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를 업데이트하십시오. 페이스 북은 때때로 모든 백핸드 콜을 변경하기 때문에 에러가 발생할 수 있습니다.