I code to post to wall Facebook as below:
- (void)publishStream{
NSLog(@"body %@",bodyMeaning);
NSMutableDictionary* params = [NSMutableDictionary dictionaryWithObjectsAndKeys:
@"SAOL Dictionary",@"message",
@"http://developers.facebook.com/docs/reference/dialogs/", @"link",
@"http://bit.ly/riDGff", @"picture",
keyword, @"name",
@"Facebook caption example." , @"caption",
facebookBody, @"description",
nil];
NSLog(@"%@",bodyMeaning);
[_facebook requestWithGraphPath:@"me/feed" andParams:params andHttpMethod:@"POST" andDelegate:self];
}
When it appear in wall : Facebook caption example.
But i want to appear as: Facebook
Caption
Example.
(new lines format)
Any body know this please help me!.
Thanks all.
try to add
as the new line character