Initially my app does not included appInvitePreviewImageURL, so invite dialog was showing blank image. Now i have added appInvitePreviewImageURL with a valid url, i can open image in browser. Still i can't see the image App invite dialog.
i'm using this code in iOS
FBSDKAppInviteContent *content =[[FBSDKAppInviteContent alloc] init];
content.appLinkURL = [NSURL URLWithString:APP_URL_LINK];
//optionally set previewImageURL
content.appInvitePreviewImageURL = [NSURL URLWithString:INVITE_IMAGE_URL];
// Present the dialog. Assumes self is a view controller
// which implements the protocol `FBSDKAppInviteDialogDelegate`.
[FBSDKAppInviteDialog showFromViewController:self
withContent:content
delegate:self];
and using this code in android
if (AppInviteDialog.canShow()) {
AppInviteContent content1 = new AppInviteContent.Builder().setApplinkUrl(appLinkUrl)
.setPreviewImageUrl(previewImageUrl).build();
AppInviteDialog.show(activity, content1);
}
Both platform facing same issue. Is it some cache issue?