appinioGmbH / flutter_packages

Dart and Flutter plugins/packages used and maintained by @appinioGmbH
193 stars 224 forks source link

[appinio_social_share] [shareToInstagramFeed] Error with sharing on Instagram Feed #51

Closed sadatd closed 1 year ago

sadatd commented 1 year ago

Sharing on Instagram feed error

Error occurs on both IOS and Android. Tested on:

Error's screenshot from Instragram

khanmujeeb687 commented 1 year ago

Hi @sadatd , This happens when your Instagram app does not have access to all the photos. So you can try to give Photos/Gallery permission to Instagram and try again.

sadatd commented 1 year ago

Hi @sadatd , This happens when your Instagram app does not have access to all the photos. So you can try to give Photos/Gallery permission to Instagram and try again.

Hi @khanmujeeb687, If permission to all photos is given to Instagram then it works. I also tried with 'Selected photos' permission, it doesn't give error but it passes photo from those selected ones, not photo from the app. Is there some workaround for this.

khanmujeeb687 commented 1 year ago

Hey @sadatd I am not sure if it is possible, because we save the video to photos app and share the localIdentifier for the asset to Instagram, and Instagram picks the asset using that localIdentifier. So If the permission for that asset is not provided. that will not work.