如何获取通过facebook向谁发布提要的列表
通过facebook,我使用feed对话框在墙上发布消息。我想获得feed发送给的朋友列表 当用户选择在特定朋友组上共享消息的选项时,隐私值为enum{如何获取通过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
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];
}
}}];