I created an invite url using Facebook tool.
Then I created a custom URL Scheme in info.plist. Same as used in invite url.
Next, I'm calling:
let content = FBSDKAppInviteContent()
content.appLinkURL = URL(string: "https://1234")
content.appInvitePreviewImageURL = URL(string: "http://myurl/fb-invite.png")
FBSDKAppInviteDialog.show(from: self, with: content, delegate: self)
As a result I get a proper invite page -> select friends -> send an invite -> get a UI indication that all went successfully.
But none of the recipients gets the invite.
None of the recipients ever installed or logged into the app.
Facebook admin panel says that the app is public.
Any ideas what may be wrong?
This appeared to be a known issue on Facebook side. You can track the status here: https://developers.facebook.com/bugs/262511517540133/?hc_location=ufi