IOS Facebook SDK invites to skip app link URL

The iOS Facebook SDK invites a custom message when I try to invite someone.

Missing app link URL. The app link used with this invitation does not contain an Android or IOS URL. Developers are required to enter the URL for the latest platform.

+6
source share
2 answers

AppLinkUrl is not the URL of your application on the market.

  • You need to make your own appLinkUrl and put it in your info.plist (see: http://iosdevelopertips.com/cocoa/launching-your-own-application-via-a-custom-url-scheme.html ) that you will use for deepLinking.
  • Then, after you declare it on your info.plist, you should have at least an html web page where you can put meta tags for appLinks ios or android ( https://applinks.org ). Pay attention to appLinkUrl that you have imposed your info.plist, should be the same on your meta property = "AL: IOS: URL
  • Debug the URL of your website and check your meta tags using the facebook url debugger. Click "Get New Scratch Information" to update the meta tags for any changes to it.
  • Use the link on your meta tag web page and use it as on the facebook docs example

    FBSDKAppInviteContent * content = [[FBSDKAppInviteContent alloc] init]; content.appLinkURL = [NSURL URLWithString: @ "your_website_link_with_metatags"];

  • Just make sure your meta tags have the correct information.
+5
source

For the Facebook SDK Invite, you need to create a custom link to the application. Facebook has provided full documentation for invitations. Send a link to create a link to the application . Facebook provides an application connectivity tool to create your own app link. In the App Link authoring tool, you need to add a custom URL scheme, an app store identifier, and an app name. The custom URL scheme is as follows: youAppName://fbFacebookAppID . We also add fbFacebookAppID to .plist under URLScheme in URLTypes

+6
source

All Articles