Social Sharing Error


#1

let shareData = data[‘data’];
SocialSharing.shareViaTwitter(shareData[‘message’], shareData[‘image’], shareData[‘url’]).then(() => {
this.dataService.showToast(‘Twitter Share Success’, 2500, ‘bottom’);
}).catch(error => {
// Error!
this.dataService.showToast(‘Twitter Share Error’, 2500, ‘bottom’);
});

Facebook and Twitter share giving error