vstirbu / InstagramPlugin

Instagram plugin for PhoneGap/Cordova
MIT License
120 stars 78 forks source link

Unable to load image for FEED #113

Closed mblint-postcron closed 4 years ago

mblint-postcron commented 4 years ago

I'm facing an issue sending a share intent to Instagram on Android, from the last update from 3 days ago. This is on an Ionic app

I can reproduce the error in the following conditions:

Android >= 8 Last Instagram Version (133.0.0.32.120) Only sharing to Feed, Stories read the image as expected

I will not add the code I'm using to share because seems to be another thing, some change that Instagram introduced in the last update, maybe permissions or something else.

I discard the image path (read/write) because for Stories it's working fine.

Any ideas? Thanks.

hdeshmukh commented 4 years ago

Same here. Android >=8 Instagram Version (133.0.0.32.120) Sharing to feeds, direct fails. Debugging the issue it looks like the error message returned is ShareCancelled

image

This all happened when Instagram updated to their latest version

souvenirpixels commented 4 years ago

Same issue here, was working fine before Instagram version 133.0.0.32.120. Instagram shows message "Unable to load image" then kicks out. Same error as @hdeshmukh, any ideas how to troubleshoot this one?

mblint-postcron commented 4 years ago

Hello guys @souvenirpixels, @hdeshmukh I'm trying to fix this issue but not lucky yet. I could say that tried with different images, sizes, dimensions, and formats, and all fails the same. So the problem should be related to anything else, maybe permissions.

This is weird because Stories work like a charm :/

hdeshmukh commented 4 years ago

Weird thing is I cannot reproduce the issue on Android 6. Everything seems to be working fine on an older device.

mblint-postcron commented 4 years ago

Yes, meanwhile email to android-support@instagram.com, maybe we get their attention

souvenirpixels commented 4 years ago

I emailed them as well, if I get any useful feedback will post back to this thread.

mblint-postcron commented 4 years ago

@souvenirpixels @hdeshmukh hello guys! IG just release a new version for Android, could you check if is working now for you or still have the issue? Thanks

souvenirpixels commented 4 years ago

Just checked, still not working with the new version (134.0.0.26.121), also haven't gotten any response from Instagram yet.

mblint-postcron commented 4 years ago

Hello guys @souvenirpixels @hdeshmukh, there is a ticket on Facebook bugs section: https://developers.facebook.com/support/bugs/1326888287510350/

Can you leave a message there? Thanks

souvenirpixels commented 4 years ago

Thanks, I left a message and following the thread. There is also a slackoverflow thread that suggests a work around may be writing to the media store then posting from there will work.

https://stackoverflow.com/questions/60786976/share-intent-issue-in-instagram-feed

Haven't been able to confirm if this is a possible fix.

mblint-postcron commented 4 years ago

Thanks! I will try to do the same workaround in Java, but i'm a frontend developer há please add information here if you have

mauriblint commented 4 years ago

Workaround solution to fix temporary this IG bug (I think is a bug from the Instagram app) https://stackoverflow.com/questions/60776730/instagram-android-share-intent-unable-to-load-image

rodrigograca31 commented 4 years ago

Can confirm this problem. This explains the increase in installs and uninstalls of my app... (probably all apps are broken)

Instagram version: 134.0.0.26.1 Android 9

luarfaria commented 4 years ago

It was a prolem with instagram app, other applications as whatsapp also had the same problem. After some weeks, i tested and share function is working.

rodrigograca31 commented 4 years ago

Yeah, its working again. Closing the issue