Reputation: 1922
Is it possible to make FB app open my application when user clicks specific link/post on someones wall ? (Post/link should be posted by my FB app of course)
I know this is possible on Android/iOS, but is it possible on WP8 ?
Thanks!
Upvotes: 0
Views: 117
Reputation: 250
I assume you have registered your protocol in the AppManifest.
<Extensions>
<Protocol Name="my_protocol" NavUriFragment="encodedLaunchUri=%s" TaskID="_default" />
</Extensions>
One way to do this is by posting custom urls using the Facebook SDK. Please note that the URLs that you post must not have http protocol.
So, you must specify an absolute URI with your own protocol in the links in your post.
For example, your post must have a link like,
my_protocol://openNewPage.xaml
And then you can handle this in your AssociationURI Mapper class.
Upvotes: 1
Reputation: 66
Well, from what i remember, you cant do this by posting a link, since it uses http protocol by default and not the custom protocol of your app by default(that is used of deeplinking).
However you can post a link to a page on your server, where you simply have to write a redirect javascript code and you can put your custom protocol URL there.
Let me know if you need me to elaborate a little more.
PS: All this is because, FB deosnt have a SDK for windows phone :(
Upvotes: 2
Reputation: 3683
This is what you're searching for:
http://msdn.microsoft.com/en-us/library/windowsphone/develop/jj206987(v=vs.105).aspx
Upvotes: 0