Reputation: 9157
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.
I have tried this:
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];
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?
Upvotes: 0
Views: 406
Reputation: 6160
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.
Upvotes: 2