Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/ios/112.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Objective c 发帖给朋友';iOS Facebook SDK的防火墙_Objective C_Ios_Facebook - Fatal编程技术网

Objective c 发帖给朋友';iOS Facebook SDK的防火墙

Objective c 发帖给朋友';iOS Facebook SDK的防火墙,objective-c,ios,facebook,Objective C,Ios,Facebook,是否可以使用iOS Facebook SDK的对话框方法发布到活动用户的好友墙?也就是说,假设已授予正确的权限 使用对话框方法,以“feed”作为操作,似乎只允许我发布到用户的流,而不是其他任何人。我错过了什么 [facebook对话框:“feed”和参数:…和委托:self] 参数只指定帖子的内容;似乎没有任何方法可以指定我要发布到的配置文件 只需使用以下代码: [facebook requestWithGraphPath:@"[IdOfFriend]/feed" andParams:...

是否可以使用iOS Facebook SDK的
对话框
方法发布到活动用户的好友墙?也就是说,假设已授予正确的权限

使用对话框方法,以
“feed”
作为操作,似乎只允许我发布到用户的流,而不是其他任何人。我错过了什么

[facebook对话框:“feed”和参数:…和委托:self]


参数
只指定帖子的内容;似乎没有任何方法可以指定我要发布到的配置文件

只需使用以下代码:

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

通过图形路径在朋友墙上发布不再工作 你的feed动作很有效。。有像这样的情人吗

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://www.friendsmash.com/images/logo_large.jpg", @"picture",
                                   @"FRIEND'S_FB_USER_ID", @"to",

                                   // Add the link param for Deep Linking
                                   [NSString stringWithFormat:@"https://YOUR_WEB_LINK.com/"], @"link",
                                   nil];

干杯

你能发布你当前使用的代码吗?现在更新。虽然我应该说,我明白为什么这不能达到我想要的效果。我想知道我想做的事是否可能。