# Social Sharing Error

**URL:** <https://forum.ionicframework.com/t/social-sharing-error/73402>\
**Category:** ionic-v3\
**Created:** [December 15, 2016, 6:34pm UTC](https://forum.ionicframework.com/t/social-sharing-error/73402 "2016-12-15T18:34:36Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![nagarajsabhahith](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/nagarajsabhahith/32/133450_2.png) [@nagarajsabhahith](https://forum.ionicframework.com/u/nagarajsabhahith)\
**Post date:** [December 15, 2016, 6:34pm UTC](https://forum.ionicframework.com/t/social-sharing-error/73402/1 "2016-12-15T18:34:36Z")

</div>

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
