Facebook Connect Post Dialog Text? [英] Facebook Connect Post Dialog Text?
问题描述
我有Facebook Connect使用功能登录和注销按钮。此外,当我按下按钮时,我想发布到Facebook。我能做到这一点,有点儿。你看,我有一个用户预先定制的指定字符串,它被称为statusUpdates。我不知道该怎么做。这是我打开Facebook上发布对话框的当前代码。
HI I have got Facebook Connect working with a functional login and logout button. Also when I press a button I want to post to Facebook. I can do this, kind of. You see, I have a specified string that the user customizes before hand, it is called statusUpdates. I am not sure how to do this. Here is my current code for opening the dialog to post on 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];
其中statusDefaults是有效的NSString。现在我已经有了statusDefaults,这个字符串我想放在最初的Facebook对话框文本上,因为现在当它打开时它完全是空的。我该怎么做,我应该修改什么?
in an IBAction where statusDefaults is a valid NSString. Now I already have statusDefaults, the string I want to put on the initial Facebook dialog text because right now when it opens it is totally empty. How do I do this, what should I modify?
推荐答案
实际上那是不可能的,我遇到了同样的问题,我发现这个在Facebook文档中
actually thats not possible , i faced the same problem and i found this in Facebook documentation
此字段供用户表达自己。预先填写此字段会侵蚀用户语音的真实性。
This field are intended for users to express themselves. Pre-filling this field erodes the authenticity of the user voice.
这篇关于Facebook Connect Post Dialog Text?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!