【问题标题】:Facebook SDK - Open Graph - Share Dialog post button greyed out - error code 102Facebook SDK - 打开图表 - 共享对话框帖子按钮灰显 - 错误代码 102
【发布时间】:2014-07-18 16:12:27
【问题描述】:

我正在关注Publishing using the Share Dialog 部分的Publishing using the Share Dialog 教程。

https://developers.facebook.com/docs/ios/open-graph

当我也想要它时,它会切换到 Facebook 应用程序,图形对象会呈现给用户(图像、标题等)几秒钟,然后消失,Post 按钮变灰。如果我在发布按钮变灰之前点击它,我会收到一条错误消息:

Error publishing story: Error Domain=com.facebook.Facebook.platform Code=102 
"The operation couldn’t be completed. (com.facebook.Facebook.platform error 102.)"    
UserInfo=0x16d48640 {error_code=102, app_id=1435110413425124, 
error_message=An error occurred during publishing.}

仅供参考,标准分享对话 presentShareDialogWithLink:handler: 运行良好,让我发帖 - 只是当我展示一个附有图形对象的对话时。

我会发布示例代码,但它使用的代码与上面教程中的代码相同。此外,我很确定这与 App Dashboard 中的设置有关,而不是我正在编写的代码。

根据 Stack Overflow Facebook SDK - iOS - Fail to share URL (Error 102) 上的这个问题,我已经确认:

  • 我的 App 设置在 App Dashboard 中设置正确(包括 iPhone Store ID 和 Bundle ID)
  • 通过 info.plist 文件配置正确。

这个问题facebook error code 102 with sdk 3.6 建议使用作为应用程序管理员的真实 Facebook 用户。我试过了,但问题仍然出现在我身上。

我也尝试过发布的应用程序和未发布的应用程序,没有任何区别。

我想知道其他人是否对我尚未检查的事情有任何想法?

【问题讨论】:

    标签: facebook facebook-graph-api


    【解决方案1】:

    我是个笨蛋。

    尽管我说我检查了App Dashboard 中的设置是否正确,但我拼错了Namepsace

    【讨论】:

      【解决方案2】:

      如果您的 Facebook 应用状态为“开发中且不向公众开放”将导致相同的结果。

      您可能希望在 Facebook 应用菜单的“应用审核”下将其更改为公开。或者您需要以“Administrators”、“Developers”或“Testers”角色登录 Facebook

      【讨论】:

        猜你喜欢
        • 2014-02-26
        • 1970-01-01
        • 1970-01-01
        • 2014-02-05
        • 2016-03-26
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        相关资源
        最近更新 更多