Metro Nuggets

Bitesized tidbits for building Modern (Metro) apps.

Pro Tip: Sharing Marketplace links

There are two places you can search for apps for your phone, one is in the Marketplace on your phone, the other on www.windowsphone.com. The latter lets you easily share app information and lets you see the screenshots of the app in question. However, if you share a link from the web based Marketplace (for example, http://www.windowsphone.com/en-US/apps/b9d61506-a5c4-43a0-8364-820ef6ce3dcb) and you open that link when you’re on your phone, you still only get the web based marketplace and you can’t install directly onto your phone (I know you can go through the web marketplace to install an app as it gets pushed from the cloud, but that’s not what I mean). So, how do you overcome this? Easy.

The Solution

If you’re given a link like the example above, take everything after the apps/ part of the link and put it at the end of this www.windowsphone.com/s?appid=, so in the example above, it would be http://www.windowsphone.com/s?appid=b9d61506-a5c4-43a0-8364-820ef6ce3dcb.

What this means, is if you’re on your phone, it will open the phone’s Marketplace, and if you’re on a computer or non-Windows Phone device, it will open up the web Marketplace.

Developers, this is the deep link that is given on the Details tab of your app in the AppHub, make sure you use it!

So if you’re going to share a link on facebook/twitter/blog, please, please, please, use this method as the people reading your status/tweet/blog will thank you for it.

PS, I actually have an app pending approval in the Marketplace that will help out with all of this, details to come soon.

Advertisements

4 responses to “Pro Tip: Sharing Marketplace links

  1. Vernon E. L. Smith (@VernonEL) May 18, 2012 at 11:03

    Great tip! Not just for developers either. I had been looking for a way to share apps better through our site. This is a great tool. Thank you. 🙂

  2. veleon May 18, 2012 at 11:04

    Reblogged this on veleon and commented:
    Great tip!

  3. Pedro Lamas May 18, 2012 at 13:05

    And you can get that deep link from inside your app (very useful for sharing); here’s how: http://code.msdn.microsoft.com/Generating-a-Windows-Phone-9d19f939

  4. Pingback: Web apps fanatic, ramblings on dev for web, mobile and other geeky stuff

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: