简体   繁体   中英

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:

<myappname>://?param1=X&param2=Y

Now I want to include this address in posts ( presentShareDialogWithOpenGraphAction or presentFeedDialogModallyWithSession )

Which URL do I need to provide in posting?

(when I give this URL I'm getting 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

You can only share http/https urls via the share dialog. If you want a link to your app, you should embed the :// scheme as an al:ios:url meta tag in an http url.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM