I am developing a Windows Phone 8.1 app. I need to open a person's profile in the LinkedIn and Twitter App (which is already installed in the phone) from my own app.
To achieve this functionality I know I need the URI Scheme of the above two apps.
I am successful in opening the Facebook app, by using the following code snippet:
public async void OpenFbProfile(string id)
{
Launcher.LaunchUriAsync(new Uri("fb:profile_id=" + id)); //worked fine
}
Similarly I was trying the same, to open the LinkedIn and Twitter apps, but was unsuccessful.
public async void OpenLinkedInProfile(string id)
{
Launcher.LaunchUriAsync(new Uri("LinkedIn:profile_id=" + id)); //not working
}
public async void OpenTwitterProfile(string id)
{
Launcher.LaunchUriAsync(new Uri("Twitter:profile_id=" + id)); //not working
}
So, can anyone tell me the URI Schemes of these two apps?
And what will be the URI to open a person's profile with the profile id, in these two apps?