Twitter Deep linking works, when story url is shared in Twitter. But doesn’t work when same story is shared along with the image. I tried sharing the same news with and without image. When shared without image, deep linking worked perfectly. But when same story is shared with image, deep linking is not working. On clicking on the link, it directly opens in the browser. I have used below code to send share intent :
Intent intent = new Intent(); intent.setAction(Intent.ACTION_SEND); intent.setType("image/*"); intent.putExtra(Intent.EXTRA_TEXT, item.title + ":\n\n" + deeplinkUrl); intent.putExtra(Intent.EXTRA_STREAM, item.imageUri);
Is there anything specific to images must be done for deep linking to work ? Deep linking works when shared in other platforms.