IOS Facebook SDK邀请缺少应用链接网址 [英] IOS Facebook SDK invite Missing App Link URL
问题描述
缺少应用链接网址此邀请使用的应用链接不是
包含Android或IOS URL。开发人员需要在最后一个平台上输入一个URL
。
AppLinkUrl不是您的应用程序在市场上的网址。
- 您需要制作自己的appLinkUrl并将其放在
中info.plist(见:
http://iosdevelopertips.com/cocoa/launching-your-own-application-via-a-custom-url-scheme.html )
您将用于deepLinking。 - 然后在你的info.plist上声明它之后,你必须至少有
一个html网页,你可以在
ios的appLinks中放置元标记android( https://applinks.org )。记下你的信息应用程序应该是相同的你的meta
属性=al:ios:url - 调试你的网站url,并使用facebook url
调试器检查您的元标记。按获取新的Scrape信息更新元
标签以进行任何更改。 - 使用您的网页的链接具有元标记,并使用它像
在样本上的facebook docs
FBSDKAppInviteContent * content = [[FBSDKAppInviteContent alloc ] init];
content.appLinkURL = [NSURL
URLWithString:@your_website_link_with_metatags];
- 需要确保您的元标记有正确的信息。
IOS Facebook SDK invite user message when i trying to invite anyone.
Missing App Link URL The app link used with this invite does not contain an Android or IOS URL. Developers are required the enter a URL for at last one platform.
AppLinkUrl is not the url of your app in 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'll be using for deepLinking.
- Then after you declare it on your info.plist, you must have at least an html web page where you can put the meta tags for the appLinks of ios or android(https://applinks.org). Take note the the appLinkUrl that you have put on your info.plist should be the same on your meta property="al:ios:url
- Debug your website url and check your meta tags using facebook url debugger. Press "Fetch new scrape information" to update the meta tags for any changes on it.
- Use the link of your webpage that has the meta tags and use it like
on the sample on facebook docs
FBSDKAppInviteContent *content =[[FBSDKAppInviteContent alloc] init]; content.appLinkURL = [NSURL URLWithString:@"your_website_link_with_metatags"];
- Just need to make sure your meta tags have the right information.
这篇关于IOS Facebook SDK邀请缺少应用链接网址的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!