从我的应用程序图像上传到 FB 并显示在时间线上,但它只在我的页面上可用。即使我分享或喜欢它。它没有分享给我的任何朋友。
我就是这样做的。NSMutableDictionary *params = [NSMutableDictionary dictionaryWithObjectsAndKeys: @"SnapShot!!!", @"message", image, @"source", nil];
[FBRequestConnection startWithGraphPath:@"me/photos"
parameters:params
HTTPMethod:@"POST"
completionHandler:^(FBRequestConnection *connection, id result, NSError *error) {
NSLog(@"Post Result : %@ error : %@", result, error);
if (error != null) {
NSLog(@"Posted");
}
}];