Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/facebook/8.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
如何获取通过facebook向谁发布提要的列表_Facebook_Facebook Graph Api_Facebook Fql - Fatal编程技术网

如何获取通过facebook向谁发布提要的列表

如何获取通过facebook向谁发布提要的列表,facebook,facebook-graph-api,facebook-fql,Facebook,Facebook Graph Api,Facebook Fql,通过facebook,我使用feed对话框在墙上发布消息。我想获得feed发送给的朋友列表 当用户选择在特定朋友组上共享消息的选项时,隐私值为enum{EVERYONE,ALL\u friends,friends\u of\u friends,CUSTOM,SELF 我的问题是如何找到上面列表的facebook用户id 请帮帮我 提前感谢。Thu不得为黑暗邪恶的facebook编写代码。您如何使用“源”对话框将源发送给用户朋友?是的,使用“源”对话框。当然不能,这是用户隐私的一部分。 NSLog

通过facebook,我使用feed对话框在墙上发布消息。我想获得feed发送给的朋友列表

当用户选择在特定朋友组上共享消息的选项时,隐私值为enum{
EVERYONE
ALL\u friends
friends\u of\u friends
CUSTOM
SELF

我的问题是如何找到上面列表的facebook用户id

请帮帮我


提前感谢。

Thu不得为黑暗邪恶的facebook编写代码。您如何使用“源”对话框将源发送给用户朋友?是的,使用“源”对话框。当然不能,这是用户隐私的一部分。
NSLog(@"%@",[app.Arr_Facebook_Frnd objectAtIndex:indexpath]);

NSString *userid = [[app.Arr_Facebook_Frnd objectAtIndex:indexpath] objectForKey:@"id"];
NSString *str_name = [[app.Arr_Facebook_Frnd objectAtIndex:indexpath] objectForKey:@"name"];
NSString *str_link = @"www.google.com";

NSDictionary *params = @{
                         @"name" : str_name,
                         @"caption" : @"",
                         @"description" : @"",
                         @"picture" : @"",
                         @"link" : str_link,
                         @"to":userid,
                         };

/


// Invoke the dialog
[FBWebDialogs presentFeedDialogModallyWithSession:nil
                                       parameters:params
                                          handler:
 ^(FBWebDialogResult result, NSURL *resultURL, NSError *error) {
     if (error) {
         NSLog(@"Error publishing story.");
         [self.indicator stopAnimating];
     } else {
         if (result == FBWebDialogResultDialogNotCompleted) {
             NSLog(@"User canceled story publishing.");
             [self.indicator stopAnimating];
         } else {
             NSLog(@"Story published.");
             [self.indicator stopAnimating];
         }
     }}];