iphone - Facebook Connect 发布对话框文本?

标签 iphone objective-c ios xcode facebook

您好,我已将 Facebook Connect 与功能性登录和注销按钮一起使用。此外,当我按下一个按钮时,我想发布到 Facebook。我可以做到这一点,有点。你看,我有一个用户事先自定义的指定字符串,它叫做 statusUpdates。我不知道该怎么做。这是我当前打开对话框以在 Facebook 上发布的代码。

我试过这个:

NSMutableDictionary* params = [NSMutableDictionary dictionaryWithObjectsAndKeys:
     @"http://developers.facebook.com/docs/reference/dialogs/", @"link",
     @"http://fbrell.com/f8.jpg", @"picture",
     @"Facebook Dialogs", @"name",
     @"Reference Documentation", @"caption",
     @"Dialogs provide a simple, consistent interface for apps to interact with users.", 
     @"description",
     @"Facebook Dialogs are so easy!",  @"message",
nil];

在 IBAction 中,其中 statusDefaults 是一个有效的 NSString。现在我已经有了 statusDefaults,这是我想放在初始 Facebook 对话框文本中的字符串,因为现在当它打开时它完全是空的。我该怎么做,我应该修改什么?

最佳答案

实际上那是不可能的,我遇到了同样的问题,我在 Facebook 文档中找到了这个

This field are intended for users to express themselves. Pre-filling this field erodes the authenticity of the user voice.

关于iphone - Facebook Connect 发布对话框文本?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9655016/

相关文章:

objective-c - 对象泄露 : Object allocated and stored is not referenced later in this execution

iphone - 如何在 xcode 4x 中将代码转换为静态库

ios - Tableview subview 覆盖UIView子类

ios - 关于在现有 iOS 应用程序中集成 Firebase 的链接问题

javascript - iPhone 和 iPad 上的 Safari 在缩放(双击并捏合)时崩溃

iphone - ASIHTTPRequest 无法创建请求(错误的 URL?)错误

iphone - 如何使用 AVAssetExportSession 在 AVMutableComposition 之上正确导出 CALayer

ios - "Shake"的 Sphero 概念?

iphone - 为什么sqlite只插入一列?

iphone - 如何在iPhone中用动画画线