私は自分のOGOStory(OpenGraphObjectStory)の「調整」設定を管理していますので、正しくダイアログが表示されます。 私のアプリでは、ストーリーとOGOSというモデルがありますが、理解してもらえれば幸いです。
- (void)performShareFacebookWithStory:(STLStory *)story andText:(NSString *)text
{
NSURL *imageURL = [NSURL URLWithString:[story largeImageURL]];
FBSDKSharePhoto *photo = [FBSDKSharePhoto photoWithImageURL:imageURL userGenerated:NO];
NSDictionary *properties = @{
@"og:type": @"stories_california:story", //OpenGraphObjectStory,
@"og:title": [story title],
@"og:description": [story aboutText],
@"og:url": [self storyUrlForStory:story], // it's NSString
@"og:image": @[photo],
};
FBSDKShareOpenGraphObject *object = [FBSDKShareOpenGraphObject objectWithProperties:properties];
FBSDKShareOpenGraphAction *action = [[FBSDKShareOpenGraphAction alloc] init];
action.actionType = @"stories_california:story_listen";
[action setObject:object forKey:@"story"];
FBSDKShareOpenGraphContent *content = [[FBSDKShareOpenGraphContent alloc] init];
content.action = action;
content.previewPropertyName = @"story"; //OpenGraphPreviewPropertyName
[FBSDKShareDialog showFromViewController:_parentVC
withContent:content
delegate:self];
}