2011-12-19 49 views
0

我有一個iPhone應用程序,我已經集成了facebook SDK,如https://developers.facebook.com/docs/reference/iossdk/所述。<span class =「text_exposed_hide」> ...</span>在ios應用程序中的「發佈到牆」對話框

一切工作正常;我可以使用「Feed」對話框登錄併發布到我的Facebook牆上。

不過:當我嘗試一條長長的「說明」 - 參數添加到「飼料」對話框,下面的HTML元素出現在顯示給用戶的塗鴉牆「-page:

<span class="text_exposed_hide">...</span><span class="text_exposed_show"> 

Screenshot

它看起來像這些元素的意圖是「更顯」 -link顯示給用戶,而不是顯示整個(很長)的說明。但是,這並不在iPhone上運行應用程序,出於某種原因。

這裏是公司德我用來顯示進紙對話框:

params = [NSMutableDictionary dictionaryWithObjectsAndKeys: 
      my_app_id, @"app_id", 
      @"http://developers.facebook.com/docs/reference/dialogs/", @"link", 
      @"http://fbrell.com/f8.jpg", @"picture", 
      @"Facebook Dialogs", @"name", 
      @"Reference Documentation", @"caption", 
      @"This is a very long description. This is a very long description. This is a very long description. This is a very long description. This is a very long description. This is a very long description. This is a very long description. This is a very long description. This is a very long description. This is a very long description. This is a very long description. This is a very long description. ", @"description", 
      @"Facebook Dialogs are so easy!", @"message", 
      nil]; 
[self.appDelegate.facebook dialog:@"feed" andParams:params andDelegate:self.appDelegate]; 

有沒有人有任何建議如何解決/解決這個問題?現在,我不得不減少描述字符串的長度,以便它足夠短,不會觸發錯誤,但這不是一個理想的解決方案。

回答

相關問題