# SocialSharing problem

**URL:** <https://forum.ionicframework.com/t/socialsharing-problem/98884>\
**Category:** Ionic Native\
**Created:** [July 20, 2017, 8:31am UTC](https://forum.ionicframework.com/t/socialsharing-problem/98884 "2017-07-20T08:31:40Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![SDEK](https://avatars.discourse-cdn.com/v4/letter/s/e274bd/32.png) [@SDEK](https://forum.ionicframework.com/u/SDEK)\
**Post date:** [July 20, 2017, 8:31am UTC](https://forum.ionicframework.com/t/socialsharing-problem/98884/1 "2017-07-20T08:31:40Z")

</div>

Hey guys,

I’ve got some problems with the SocialSharing Plugin (iOS).

Im trying to build a simple “gallery app” where you can share the images.  
( Also is there a way to share videos? )

I got 1 button for **general sharing** and 1 button for **whatsapp sharing**

my code:

```
share(){
	//share(message, subject, file, url)
		this.socialSharing.share(null, null, "assets/img/sm/lifti-cool-sm.jpg", null); 
	}

shareWhatsApp(){
	//shareViaWhatsApp(message, image, url)
		this.socialSharing.shareViaWhatsApp(null, "assets/img/sm/lifti-cool-sm.jpg", null); 
	}

```

**Following problem:**

![image](https://global.discourse-cdn.com/ionicframework/original/3X/7/f/7fe58c9071ccb683b16a696ea8654c4fad5b2d77.png)

if you click the **general share button** you can select your preferred App where you want to share it and everything is fine except for WhatsApp inside this action sheet.  
After selecting WhatsApp and a contact I get this error:

“This Object could not be sent. Please select another Object”

![image](https://global.discourse-cdn.com/ionicframework/original/3X/0/f/0fe6197b829c92a1bf7e71c71b5aa841e7e0c36f.png)

* * *

Now if you click the **whatApp share button** I get 2 options to select from inside this action sheet.

“WhatsApp” and “Copy to WhatsApp”

 ![image](https://global.discourse-cdn.com/ionicframework/original/3X/b/e/becdf9cd4045f3413821ef26e32d6efddb83af3d.png)

if you select “WhatsApp” and then a contact it wants to send a .tmp file.

![image](https://global.discourse-cdn.com/ionicframework/original/3X/1/f/1f5aab9e7d991b4e82f7685bc145289719308a32.png)

* * *

“Copy to WhatsApp” is the only option which works.

Why do I get 2 options ? How do I make the **whatsapp share button** so I dont get any action sheet options but get the WhatsApp contacts instead (open WA directly without selecting WA in the action sheet)

And why is WA not working with the **general share button**?
