ios facebook sdk v3.11共享对话框发布按钮被禁用

ios facebook sdk v3.11共享对话框发布按钮被禁用

问题描述:

我正在关注ios的facebook sdk教程,特别是使用开放图形附加图片和标记朋友(社交框架不能直接做)。

I was following the tutorial for facebook sdk for ios, specially using open graph to attach an image and tag friends (which social framework can't do directly).

所以我正在学习本教程和这个示例应用程序FBOGSampleSD。 https://developers.facebook.com/docs/ios/open-graph#sharedialog

So I was following this tutorial and this sample app, FBOGSampleSD. https://developers.facebook.com/docs/ios/open-graph#sharedialog

但是,共享对话框中的发布按钮始终处于禁用状态。 (灰色)

However my post button in the share dialog is always disabled. (grey out)

有没有人遇到过这个?

我正在使用Xcode 5并在ios7上进行测试设备。

I am working with Xcode 5 and testing on ios7 device.

问候,
Jin

Regards, Jin

我我自己正在努力解决禁用的POST按钮,结果发现我的应用程序的plist信息没有正确设置为Facebook集成。特别是FacebookDisplayName必须与您在Fcb App设置中输入的名称相匹配。

I was struggling with the disabled POST button myself and it turned out that my App's plist information was not set correctly for Facebook integration. Specially the FacebookDisplayName must match the name you entered in your Fcb App settings.

这个 SO答案向我指出了正确的方向,希望它帮助!

This SO answer pointed me to right direction, hope it helps!