0

I'm creating a Metro Application that allows you to share some content. At this moment It's possible to share an url (e.g http//www.stackoverflow.com) on facebook.

What I actually want is to invite people (through facebook) to click on the shared link. When they click on the link I would like my application to start up and that it navigates to a certain page in the application.

e.g I have a food application and would like to share a specific restaurant on facebook. When a facebook friend clicks on the link, the food application would start up, he would navigate to that specific restaurant.

Is this possible and how can i do this?

p.s I added a protocol to "Declarations" on the manifest but than I'm stuck.

user1951083
  • 261
  • 1
  • 5
  • 20
  • You do understand this would only work for people running Windows 8. Why don't you display content that everyone can see? This really depends how your application works and even if it supports being started to display specific content. – Security Hound Apr 29 '13 at 11:07
  • I do understand it will require Windows 8. Later I will expand the application to Windows Phone but atm only as a windows 8 app. Do you haven an idea to "make" such an URL? – user1951083 Apr 29 '13 at 11:20

1 Answers1

0

you can share – only – 6 different types of data.

  1. Bitmap: a bitmap represented by a stream of bytes. This one is provided by the system when you share a screenshot;
  2. Html: text on the HTML format;
  3. Rtf: text on the RTF format;
  4. StorageItems: items which implements the IStorageItem interface. It seems to be media items located on a physical drive;
  5. Text: raw text sharing;
  6. Uri: you can share link with this format;

Data is shared through an object called the DataPackage. In this article, we’re going to divide Share Source and Share Target into two separate sections.

and for lunching metro application from your website please follow this article

and if you want to share your application link try this www.windowsphone.com/s?appid=

Shafqat Masood
  • 2,532
  • 1
  • 17
  • 23