Facebook ios sdk app invite

2.2k views Asked by At

I generated app link with facebook: https://fb.me/961027397273550, but when I try to send invite:

    FBSDKAppInviteContent *content =[[FBSDKAppInviteContent alloc] init];
    NSString *urlString = @"https://fb.me/961027397273550";
    content.appLinkURL = [NSURL URLWithString:urlString];
    [FBSDKAppInviteDialog showWithContent:content
                             delegate:self];

I got this error:

Missing App Link URL The app link used with this invite does not contain an Android or iOS URL. Developers are required to enter a URL for at least one platform.

Why did thats happened? Can I create app link page with dynamic iOS scheme on my server?

1

There are 1 answers

1
siliconeagle On

you can create an applink here: https://developers.facebook.com/quickstarts/?platform=app-links-host

the iOS url is a url that cna be used to launch you iOS app - e.g. a schema (app://) used for deeplinking.