# Share Component

**URL:** <https://community.thunkable.com/t/share-component/1235600>\
**Category:** Questions about Thunkable X\
**Tags:** solved\
**Created:** [April 20, 2021, 6:15pm UTC](https://community.thunkable.com/t/share-component/1235600 "2021-04-20T18:15:06Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![cboss\_cross](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/cboss_cross/32/102581_2.png) [@cboss\_cross](https://community.thunkable.com/u/cboss_cross)\
**Post date:** [April 20, 2021, 6:15pm UTC](https://community.thunkable.com/t/share-component/1235600/1 "2021-04-20T18:15:06Z")

</div>

I’m making an app that you can use to write stories. I made it so when you press a button, you can share the app with friends and stuff. But when I coded it, the share component wouldn’t allow me to share even on the Thunkable Live app. Please help

See Link Attached:  
[https://x.thunkable.com/copy/a25dd0523f7b15c61fb25b2dba1d92f9](https://x.thunkable.com/copy/a25dd0523f7b15c61fb25b2dba1d92f9)

---

<div class="post-metadata">

**Author:** ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)\
**Post date:** [April 20, 2021, 7:57pm UTC](https://community.thunkable.com/t/share-component/1235600/2 "2021-04-20T19:57:42Z")

</div>

You’ve got two problems:

1. You’re checking for an error but not assigning the green error block to anything so you can actually read the error that it’s generating.

2. You can send text using the Share component but you’re trying to send a list which won’t work.

Try this instead:

![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/2/b/2b9c94c441cc12a10d1be16d495e01d5b931a4a7.png)

---

<div class="post-metadata">

**Author:** ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)\
**Post date:** [April 20, 2021, 7:59pm UTC](https://community.thunkable.com/t/share-component/1235600/3 "2021-04-20T19:59:53Z")

</div>

And it looks like maybe your idea was to create a list from the text input entries and then share the entire list? If so, use the “make text from list” block in the List drawer to convert your list items to a text string.

You’ll have to try out different delimiters; I’m not sure if the New Line block works with the Share component.

**Edit:** here’s an example of that: [Thunkable](https://x.thunkable.com/copy/4e97f8f5a800c4067d5090ff566d740a)

Personally, I’d change it so that when you _submit_ the text input (tap return), it adds the item. It seems a bit cleaner than having to hide the keyboard and then tap “Enter” to add a line to the story.

---

<div class="post-metadata">

**Author:** ![cboss\_cross](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/cboss_cross/32/102581_2.png) [@cboss\_cross](https://community.thunkable.com/u/cboss_cross)\
**Post date:** [April 21, 2021, 3:29pm UTC](https://community.thunkable.com/t/share-component/1235600/4 "2021-04-21T15:29:27Z")

</div>

So I tried that but it said can’t send empty message. 🤔  
It said that because Text\_List is the Text Input. So I need to send the list viewer’s items. 🤔

---

<div class="post-metadata">

**Author:** ![cboss\_cross](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/cboss_cross/32/102581_2.png) [@cboss\_cross](https://community.thunkable.com/u/cboss_cross)\
**Post date:** [April 21, 2021, 3:45pm UTC](https://community.thunkable.com/t/share-component/1235600/5 "2021-04-21T15:45:41Z")

</div>

@tatiang what if I used a variable and stored the information and then sent it when the button is clicked?

---

<div class="post-metadata">

**Author:** ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)\
**Post date:** [April 21, 2021, 3:57pm UTC](https://community.thunkable.com/t/share-component/1235600/6 "2021-04-21T15:57:51Z")

</div>

> [@cboss\_cross](#):
>
> So I tried that but it said can’t send empty message. 🤔

You tried what?

Did you check out my demo project? Did that work for you?

> [@cboss\_cross](#):
>
> what if I used a variable and stored the information and then sent it when the button is clicked?

You could certainly do that.

---

<div class="post-metadata">

**Author:** ![cboss\_cross](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/cboss_cross/32/102581_2.png) [@cboss\_cross](https://community.thunkable.com/u/cboss_cross)\
**Post date:** [April 21, 2021, 4:00pm UTC](https://community.thunkable.com/t/share-component/1235600/7 "2021-04-21T16:00:13Z")

</div>

i tried but it didnt work 😭

---

<div class="post-metadata">

**Author:** ![cboss\_cross](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/cboss_cross/32/102581_2.png) [@cboss\_cross](https://community.thunkable.com/u/cboss_cross)\
**Post date:** [April 21, 2021, 4:01pm UTC](https://community.thunkable.com/t/share-component/1235600/8 "2021-04-21T16:01:19Z")

</div>

> [@tatiang](#):
>
> You tried what

i tried the text list (code you sent)

---

<div class="post-metadata">

**Author:** ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)\
**Post date:** [April 21, 2021, 4:37pm UTC](https://community.thunkable.com/t/share-component/1235600/9 "2021-04-21T16:37:14Z")

</div>

When I preview the link I posted above on my iPhone in Thunkable Live, tap Share and then tap on the Messages app, it opens a new message with the lines that I typed into the Text Input field:

 ![IMG_3583.PNG](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/0/e/0e19e96b9abeeaeb9353c3150db12666b188f15f.jpeg) ![IMG_3582.PNG](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/8/1/81bb99dc4ad521d5b2ee2f1f1da5b0afa109627b.jpeg)

---

<div class="post-metadata">

**Author:** ![cboss\_cross](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/cboss_cross/32/102581_2.png) [@cboss\_cross](https://community.thunkable.com/u/cboss_cross)\
**Post date:** [April 21, 2021, 5:23pm UTC](https://community.thunkable.com/t/share-component/1235600/10 "2021-04-21T17:23:05Z")

</div>

hmm I’ll try that 🤔

---

<div class="post-metadata">

**Author:** ![ioannis](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ioannis/32/146956_2.png) [@ioannis](https://community.thunkable.com/u/ioannis)\
**Post date:** [November 8, 2024, 1:25pm UTC](https://community.thunkable.com/t/share-component/1235600/11 "2024-11-08T13:25:09Z")

</div>


