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
Instagram app for AndroidAt the top, tap then scroll to Post at the bottom: To upload a photo from your phone's library, select the photo you'd like to share.
Android uses Intents and their associated extras to allow users to share information quickly and easily, using their favorite apps. Android provides two ways for users to share data between apps: The Android Sharesheet is primarily designed for sending content outside your app and/or directly to another user.
With Sharing to Feed, you can allow your app's Users to share your content to their Instagram Feed.
I got the same problem. It's cannot be sharing with Instagram Feed, but still working when sharing with Instagram Story and Direct. -> That probably an issue of Instagram new update version, not Android os. I try from android version >= 24(N) and got the same error
But when share from Google Photo app to Instagram Feed, still working normally
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With