Facebook iOS SDK - FWWebDialogs not rendering message

≡放荡痞女 提交于 2019-12-09 06:44:36

问题


I'm using the Facebook SDK in an iOS app. I'm logging in fine, pulling in friends lists, etc.

I've added code to send a request:

[FBWebDialogs
 presentRequestsDialogModallyWithSession:session
 message:@"Message"
 title:@"Title"
 parameters:params
 handler:^(FBWebDialogResult result, NSURL *resultURL, NSError *error) {
     // view cleanup here
 }];

The session is the FBSession stored in the class handling login. The params are suggestions, an array of friends to include. The issue described below occurs equally if params is nil (in which case the list shows all friends).

When I call the dialog, this is what appears:

Note that the "Message" text is missing, as is the entire Message block shown on the various Facebook documentation pages such as https://developers.facebook.com/docs/ios/ios-sdk-games/requests/.

I'm using Facebook SDK 3.7.1, the latest version as of this posting. The screenshot above is from the Simulator using a Facebook Test User account. The same issues occur on a device using a "real" Facebook account.


回答1:


Apparently, this is "By Design"!! :(

https://developers.facebook.com/bugs/605575982818621




回答2:


I'm seeing the same issue. It appears to be a very recent development, as previously the dialog did show the message preview. I also noticed that the dialog does show the message preview if I specify the 'to' parameter; the message preview is missing only if I omit the 'to' parameter so that the dialog shows all the user's friends. Unfortunately I don't have a solution, but I wanted to share these additional observations if it helps get closer to the solution.

  • Andrew


来源:https://stackoverflow.com/questions/18501290/facebook-ios-sdk-fwwebdialogs-not-rendering-message

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!