我刚刚通过 Facebook SDK 将照片上传到我的个人墙上。当我跟踪“request:didLoad”方法时,我只得到“id”和“post_id”。这是我所有必要的方法:
-(void) postPhoto:(UIButton*)button{
UIImage *uploadImage = [UIImage imageNamed:@"testImage"];
NSMutableDictionary *params = [NSMutableDictionary dictionaryWithObjectsAndKeys:
uploadImage, @"source",
@"test caption", @"message",
nil];
[self.facebook requestWithGraphPath:@"/me/photos" andParams:params andHttpMethod:@"POST" andDelegate:(id)self];
}
- (void)request:(FBRequest *)request didLoad:(id)result{
NSLog(@"Request didLoad: %@", result);
}
输出:
请求 didLoad: { id = 3273804256400; "post_id" = "1608527600_3273799016300"; }
所以,我想知道为什么没有关于照片的更多信息?我以为我会找回各种照片字段?