I would like to open a specific user ID:
- Snapchat App (if available on mobile)
- or, Snapchat web site
I've developed this static method:
public static Intent newSnapchatIntent(String id) {
if (isApplicationEnabled(Defines.SNAPCHAT_PACKAGE_NAME)) {
Intent intent = new Intent(Intent.ACTION_SEND);
intent.setType("*/*");
intent.setPackage("com.snapchat.android");
return intent;
}
return new Intent(Intent.ACTION_VIEW, Uri.parse(NetworkUtils.formatUrlPath("https://snapchat.com", id)));
}
But I don't know how to open a specific user profil based on this #id. Have you got an idea guys?
Thank you very much