I managed to open the Twitter and Facebook user profile from my app. But I can not find any references to Instagram.
Is There a way to open Instagram in order to show a user profile like in twitter or facebook?
For instance, in order to get the Intent to launch the twitter application I do:
public Intent getOpenTwitterIntent(Context context) {
try {
return new Intent(Intent.ACTION_VIEW,
Uri.parse("twitter://user?screen_name="
.concat(twitterUsername)));
} catch (Exception e) {
return new Intent(
Intent.ACTION_VIEW,
Uri.parse("https://twitter.com/#!/".concat(twitterUsername)));
}
}
How can I achive something similar with Instagram? Thanks in advance.