[英]IOS url scheme and facebook
I'm trying to get around the documentation with no real success. 我试图绕过文档,但没有真正的成功。
I defined a URL scheme for my app: 我为我的应用程序定义了URL方案:
<myappname>://?param1=X¶m2=Y
Now I want to include this address in posts ( presentShareDialogWithOpenGraphAction
or presentFeedDialogModallyWithSession
) 现在,我想将此地址包括在帖子中(
presentShareDialogWithOpenGraphAction
或presentFeedDialogModallyWithSession
)
Which URL do I need to provide in posting? 发布时需要提供哪个URL?
(when I give this URL I'm getting API code 100 - link URL is not properly formatted
) (当我给这个URL时,我得到的
API code 100 - link URL is not properly formatted
)
Just to clarify - when I put this address in Safari - everything works, I'm redirected to the right place in my app 只是为了澄清-当我将此地址放在Safari中时-一切正常,我被重定向到应用中的正确位置
You can only share http/https urls via the share dialog. 您只能通过共享对话框共享http / https网址。 If you want a link to your app, you should embed the :// scheme as an al:ios:url meta tag in an http url.
如果要链接到您的应用程序,则应将://方案作为al:ios:url元标记嵌入到http url中。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.