testing - 使用测试账号时用iOS SDK获取 "Cannot Post To Facebook"

标签 testing ios6 facebook-ios-sdk uiactivityviewcontroller slcomposeviewcontroller

尝试使用 Facebook 发帖时使用 iOS 6 从应用程序生成测试帐户, UIActivityViewControllerSLComposeViewController我收到错误弹出消息 "Cannot Post To Facebook - The post cannot be sent because the connection to Facebook failed" .我在 iPhone 和模拟器上都看到了这一点。

iOS API使用真实的 Facebook 帐户可以正常工作。

测试帐户在使用 Facebook iOS App 时工作正常或 web interface.

最佳答案

Facebook 不允许重复发布相同的内容。但是这种情况不是由 SLComposeViewController 处理的。它会将结果作为 SLComposeViewControllerResultDone 传递给您,并向您传递一条错误消息

Cannot Post To Facebook - The post cannot be sent because the connection to Facebook failed.

关于testing - 使用测试账号时用iOS SDK获取 "Cannot Post To Facebook",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/15559479/

相关文章:

testing - 需求文档规范文档和需求规范文档的区别

ios6 - initWithAppID 不使用原生 Facebook 登录与 iOS SDK 3.1.1

ios - 如何使用最新的 Facebook SDK 从 iOS 中的 Facebook API 获取用户的生日?

swift - 没有这样的模块 'RestKit' 与 cocoapods 和 swift

php - CakePHP Controller 的实际测试?

testing - 如何枚举某种类型的常量

debugging - boost 测试 : how to debug tested code?

twitter - "[App]"想要访问 Twitter 帐户警报未在 iOS 6 中显示

ios - 如何从 UITextField 获取 UITableViewCell 的索引?

iphone - 从视频中获取缩略图总是返回 null