vstirbu / InstagramPlugin

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

Unable to share Video via instagram #80

Closed gopalaiahvinay closed 7 years ago

gopalaiahvinay commented 7 years ago

Instagram.shareAsset(function(result) { console.log('Instagram.shareAsset success: ' + result); }, function(e) { console.log('Instagram.shareAsset error: ' + e); }, localFileUrl); }, function() { // error });

I am unable to share a video to instagram, I am passing the local file url as a parameter. I am getting an error saying: 'Invalid Action'. In documentation you say we can use PHAssets to get assets identifier. But what do we have to use in android to get an asset identifier?

Please point me to an appropriate documentation where it shows how to share video to instagram on android.

vstirbu commented 7 years ago

this method is iOS specific. follow #49 to see what the outcome will be for android.