Cannot share custom text on facebook with cordova socialsharing plugin on android -
Cannot share custom text on facebook with cordova socialsharing plugin on android -
i building app, using cordova, android , iphone. have function share text on facebook:
window.plugins.socialsharing.cansharevia('com.facebook.katana', 'msg', null, null, null, function () { window.plugins.socialsharing.shareviafacebook("some custom text here" + link), null, null, console.log('share ok'), // success callback function (errormsg) { alert(errormsg); }); // error callback }, function () { console.log("no facebook available"); navigator.notification.alert('the facebook app not available on device.', // message console.log('facebook app not installed'), // callback 'share', // title 'ok' // buttonname ); }); in iphone working fine, can share text , link on facebook thought native app. in android, facebook app open custom text missing, although link appear.
you can see resulting post here: https://www.dropbox.com/s/bo0ughcv9w36zec/screen_shot.png
i have found posts: https://developers.facebook.com/blog/post/510/ stating custom message ignored, i'm not sure applies, besides in ios working properly. help appreciated. give thanks you.
it seems facebook not allow, in facebook app android, add together custom text, can share link. more info can found here: https://developers.facebook.com/bugs/332619626816423
android cordova sharing social
Comments
Post a Comment