, Fb, , FB ios Api
SBJSON *jsonWriter = [[SBJSON new] autorelease];
NSDictionary* actionLinks = [NSArray arrayWithObjects:[NSDictionary dictionaryWithObjectsAndKeys:
APP_NAME,@"text", fb_app_url,@"href", nil], nil];
NSString *actionLinksStr = [jsonWriter stringWithObject:actionLinks];
NSMutableDictionary* params = [NSMutableDictionary dictionaryWithObjectsAndKeys:
APP_NAME, @"name",
fb_app_url, @"link",
fb_publish_image, @"picture",
APP_NAME, @"name",
@"Awesome APP", @"caption",
[NSString stringWithFormat:@"I am loving it", GAME_NAME], @"description",
@"Get it now!", @"message",
actionLinksStr, @"action_links",
nil];
[self.faceBook dialog:@"stream.publish" andParams:params andDelegate:self];
fb api
Facebook iPhone
,
http://developers.facebook.com/docs/howtos/publish-to-feed-ios-sdk/