Facebook iOS SDK - FWWebDialogs无法呈现消息 [英] Facebook iOS SDK - FWWebDialogs not rendering message

查看:164
本文介绍了Facebook iOS SDK - FWWebDialogs无法呈现消息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在iOS应用中使用Facebook SDK。我正在登录好,拉朋友列表等。

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
 }];

会话是 FBSession 存储在类处理登录。参数是建议,包括一系列朋友。如果params为nil,则下面描述的问题同样发生(在这种情况下,列表显示所有朋友)。

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:

请注意,消息文本丢失,各种Facebook文档页面上显示的整个消息块也是如此,例如 https://developers.facebook.com/docs/ios/ios-sdk-games/requests/

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/.

我正在使用Facebook SDK 3.7.1,这是该帖子的最新版本。上面的屏幕截图来自使用Facebook测试用户帐户的模拟器。在使用真实Facebook帐户的设备上也会出现同样的问题。

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.

推荐答案

显然,这是按设计!! :(

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

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

这篇关于Facebook iOS SDK - FWWebDialogs无法呈现消息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆