I am not able to share any photo on Instagram feed using Intent in Android. It opens Instagram and shows "Unable to load Photo" error and comes back to my app.
Intent share = new Intent(Intent.ACTION_SEND);
share.setType("image/*");
share.putExtra(Intent.EXTRA_STREAM, uri);
share.addFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION);
startActivity(Intent.createChooser(share, "Share to"));
This same code was working on Instagram version 131.0.0.23.116 but it's not working on the current updated version is 134.0.0.26.121