Post link to Facebook including app URL scheme - iOS 6 -


i'm using uiactivityviewcontroller share image , url within app. i'm having trouble formatting facebook post. attach image using subclassed uiactivityitemprovider , provide text post in same way.

i want add url, needs apps custom url scheme in front of myurl://image?url=http://imageurl.com

the problem is, when posted, last half of url clickable (from http:// onwards). means doesn't open app url.

is there way this? know can create app on facebook, how can tie 2 using uiactivityviewcontroller?

thanks

you have 2 options :

  1. create simple server-side web service redirect http://yourserver.com/linktoapp/image myurl://image .
    show different page/preview if app not installed/if you're not on ios device.

  2. create facebook app , use "deep linking" (it same you..)


Comments

Popular posts from this blog

php - Calling a template part from a post -

Firefox SVG shape not printing when it has stroke -

How to mention the localhost in android -