IOS testing facebook posted app links prior to release in app store

My iphone app only has mobile content. I am using facebook link hosts ( https://graph.facebook.com/app/app_link_hosts ) to generate canonical URLs that will be available on facebook. Body for hosting request:

"access_token=<APP_ACCESS_TOKEN>
            &ios=[
                    {\"url\":\"content://content/<content_id>\",
                    \"app_store_id\":<APP_STORE_ID>,
                    \"app_name\":\"<APP_NAME>\"}
            ]
            &name=link test
            &web={should_fallback:false}"

      

This works great and returns the id for the object. To test this, I shared:

https://fb.me/<canonical>

      

Since this app hasn't been released yet, whenever I open a link from facebook app it doesn't detect my app is installed. It provides two options: "Open Web Link" and "Set APP_NAME". Both options point to a blank itunes link where the app will be. How can I check that my app is working with this link before publishing my app to the app store?

this is a link:

https://itunes.apple.com/WebObjects/MZStore.woa/wa/redirectToContent?id=APP_STORE_ID

      

+3


source to share


1 answer


After some sweating, I finally found a solution. The URL scheme must be defined in the plist file. in this case "content" without: //



0


source







All Articles