angularjs - Can't share Facebook image post with Cordova Facebook plugin -
i've created cordova/angular app pulls facebook feed api. i'm trying add ability share 1 of facebook posts on own timeline. i'm using cordova facebook plugin found here https://github.com/jeduan/cordova-plugin-facebook4
the problem when try share image post "an error occurred. please try again later" in share dialog appears. i'm not sure how setup options share images properly.
here's current code share:
var options = { method: 'share', href: post.link, caption: post.message }; $cordovafacebook.showdialog(options).then( function (res) { success(res); }, function (error) { console.log(error); fail(error); });
any ideas options should share image?