无法使用Facebook API获取照片ID

时间:2015-05-02 07:52:47

标签: ios objective-c facebook facebook-graph-api

我正在使用此代码发布图片,但不会在回复时获取图片ID。

FBSDKSharePhoto *photo = [[FBSDKSharePhoto alloc] init];
photo.image = self.image.image;
photo.userGenerated = YES;
FBSDKSharePhotoContent *content = [[FBSDKSharePhotoContent alloc] init];
content.photos = @[photo];
[FBSDKShareDialog showFromViewController:self
                             withContent:content
                                delegate:self];

0 个答案:

没有答案