Initially, my application did not include appInvitePreviewImageURL, so the invitation dialog showed a blank image. Now I added appInvitePreviewImageURL with a valid url, I can open the image in a browser. However, I do not see the application prompt dialog.
I use this code in iOS
FBSDKAppInviteContent *content =[[FBSDKAppInviteContent alloc] init];
content.appLinkURL = [NSURL URLWithString:APP_URL_LINK];
content.appInvitePreviewImageURL = [NSURL URLWithString:INVITE_IMAGE_URL];
[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 platforms face the same problem. Is this a cache problem?

source
share