Today I noticed that the code I have been using to display a FBDialog using the Facebook SDK, which shows a Dialog with a pre-filled Text isn't working anymore. It is just showing the dialog with an empty textfield. The text I want to show is missing.
Has anyone else encountered a similar problem, or is there a better way to pre-fill the textfield with a string?
This is the code I use to call the FBDialog:
NSString * message = @"Pre-filled Text";
NSMutableDictionary * params = [NSMutableDictionary dictionaryWithObjectsAndKeys: message, @"message", nil];
[facebook dialog:@"feed" andParams:params andDelegate:self];
This is intended behaviour. https://developers.facebook.com/docs/reference/dialogs/feed/
message
: This field will be ignored on July 12, 2011 The message to prefill the text field that the user will type in. To be compliant with Facebook Platform Policies, your application may only set this field if the user manually generated the content earlier in the workflow. Most applications should not set this.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With