Facebook应用邀请中的“缺少应用链接网址” [英] 'Missing app link URL' on Facebook app invite
本文介绍了Facebook应用邀请中的“缺少应用链接网址”的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在尝试设置Facebook应用邀请,但我不断得到:'此邀请中使用的应用链接不包含Android或iOS网址'
I am trying to setup Facebook app invites, but I keep getting :'The app link used in this invite does not contain an Android or iOS URL'
I我使用我的网站作为URL,其中包含以下元标记:
I am using my website as the URL, which contains these meta tags:
<meta property="al:ios:url" content="(myapplink)" />
<meta property="al:ios:app_store_id" content="(myappid)" />
<meta property="al:ios:app_name" content="(myappname)" />
<meta property="og:title" content="(myappname)" />
<meta property="og:type" content="website" />
任何人都知道我做错了什么?谢谢
Anyone know what i'm doing wrong? Thanks
推荐答案
您需要创建应用程序链接如果你还没有。步骤很简单,你会得到像 https://fb.me/***********
这样的链接。
You need to create a app link from there if you haven't already. The steps are simple, you'll get a link like https://fb.me/***********
.
然后你必须使用这个链接作为你的应用程序链接,如下所示:
Then you just have to use this link as your app link, like that :
FBSDKAppInviteContent *content =[[FBSDKAppInviteContent alloc] init];
content.appLinkURL = [NSURL URLWithString:@"https://fb.me/***********"];
//optionally set previewImageURL
content.appInvitePreviewImageURL = [NSURL URLWithString:@"http://anImageHost.com/img.png"];
[FBSDKAppInviteDialog showFromViewController:self withContent:content delegate:nil];
这篇关于Facebook应用邀请中的“缺少应用链接网址”的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文