ios - Share link without http:// scheme on Facebook -


we have application ipad shares link of part of application through facebook. link shared must open ipad app when clicked on link. has link url appname://. link not supported on facebook share through share link not compliant url scheme. being new , having client reply feasibility, can requirement fulfilled facebook app or other way if possible ?

i resolved problem sharing link (with 'http' url scheme) on facebook of page has javascript load url ipad open app scheme. same below:

<html><head></head><body onload="openipadapp()">   <script type="text/javascript">      function openipadapp() {          window.location = 'appname://';      }  </script>  </body></html> 

that's it. when link opens, page load event fires redirect open ipad app.


Comments

Popular posts from this blog

node.js - Bad Request - node js ajax post -

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -