Post Can';在上传照片到用户wall时标记好友-Facebook iOS

Post Can';在上传照片到用户wall时标记好友-Facebook iOS,post,tags,photo,facebook-ios-sdk,Post,Tags,Photo,Facebook Ios Sdk,我有一个问题,上传照片和标签用户的朋友到Facebook用户的墙上。它返回未知错误 如果我删除了标签param,它会工作得很好 这是我用来发布照片和标记用户的代码 NSMutableArray *chunks = [[NSMutableArray alloc] init]; NSMutableDictionary *tagDict=[[NSMutableDictionary alloc]init]; for(int i=0; i < appDelegate.listFriend.cou

我有一个问题,上传照片和标签用户的朋友到Facebook用户的墙上。它返回未知错误

如果我删除了标签param,它会工作得很好

这是我用来发布照片和标记用户的代码

NSMutableArray *chunks = [[NSMutableArray alloc] init];

NSMutableDictionary *tagDict=[[NSMutableDictionary alloc]init];

for(int i=0; i < appDelegate.listFriend.count ;i++) {
      NSDictionary *friend = [appDelegate.listFriend objectAtIndex:i];
      NSString *type = [NSString stringWithFormat:@"%@",[friend objectForKey:@"type"]]; 
      if([type intValue] == 1) {

                    [tagDict setValue:[friend objectForKey:@"id"] forKey:@"tag_uid"];
                    [chunks addObject:tagDict];
      } 
}

[photoParams setObject:[chunks JSONString]  forKey:@"tags"];

 //test posting facebook's image's url
NSString *imagePath = urlPhoto;
NSURL *imageUrl = [NSURL URLWithString:imagePath];
NSData *imageData = [NSData dataWithContentsOfURL:imageUrl];

NSMutableDictionary *photoParams = [NSMutableDictionary dictionaryWithObjectsAndKeys:
                                                    message, @"message", imageData, @"source", nil];              

[appDelegate.facebook requestWithGraphPath:@"/me/photos" andParams:photoParams andHttpMethod:@"POST" andDelegate:appDelegate.self];
NSMutableArray*chunks=[[NSMutableArray alloc]init];
NSMutableDictionary*tagDict=[[NSMutableDictionary alloc]init];
for(int i=0;i
请帮我解决这个问题,所有的想法都很感激


谢谢

从facebook开发者帐户查看此链接。这对我来说很管用。如果你愿意,先试试你自己。我可以把密码给你


此问题是否得到解决方案如果是,请与我分享。。。。