简体   繁体   中英

Facebook mobile deep linking in iOS

I am new to mobile deep linking. I want to do deep linking while sharing post on Facebook. I followed Facebook deep linking reference but this is done using Facebook share dialog but i am using SLComposeViewController in my app.

To do deep linking, I followed following steps:

1) I have added Facebook app id in info.plist, URL Types.
2) Also in Facebook app page, 
    -- iOS Bundle ID: my bundle ID (checked it, correct) 
    -- iPhone AppStore ID: the ID (checked it, correct)
    -- iPad AppStore ID: the ID (checked it, correct)
    -- iOS SSO: Enabled 
    -- iOS Native Deep Linking: Enabled 
    -- URL Scheme Suffix: my website url

May i missing something?

How to do mobile deep linking with SLComposeViewController ?

Found solution from here . If I have shared post on Facebook using SLComposeViewController then on Facebook post gets displayed with 'via iOS'. Because of this my deep-linking was not happened. But When I shared my post using SLRequest , my post gets displayed with "via xxx" and my deep-linking is working properly.

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