# Share Module

**URL:** https://forums.fusetools.com/t/share-module/5974
**Category:** General
**Created:** [May 8, 2017, 5:54pm UTC](https://forums.fusetools.com/t/share-module/5974 "2017-05-08T17:54:36Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![znoopykid](https://avatars.discourse-cdn.com/v4/letter/z/dbc845/32.png) [@znoopykid](https://forums.fusetools.com/u/znoopykid)
#### Post date: [May 8, 2017, 5:54pm UTC](https://forums.fusetools.com/t/share-module/5974/1 "2017-05-08T17:54:36Z")

</div>

Is the Share Module [https://www.fusetools.com/docs/fuse/share/sharemodule](https://www.fusetools.com/docs/fuse/share/sharemodule) really up to date?

I get " Error message: share.shareFile is not a function." when trying the example in the docs.

Thx

---

<div class="post-metadata">

### Author: ![Uldis](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/uldis/32/657_2.png) [@Uldis](https://forums.fusetools.com/u/Uldis)
#### Post date: [May 8, 2017, 6:08pm UTC](https://forums.fusetools.com/t/share-module/5974/2 "2017-05-08T18:08:06Z")

</div>

Hi znoopykid,

the module itself is fine, but there is a mistake in the docs - the capitalisation on `Share` and `share`. This is already fixed and will roll out with a future update to the docs.

Use `Share.shareFile` instead of `share.shareFile`.

---

<div class="post-metadata">

### Author: ![znoopykid](https://avatars.discourse-cdn.com/v4/letter/z/dbc845/32.png) [@znoopykid](https://forums.fusetools.com/u/znoopykid)
#### Post date: [May 8, 2017, 7:05pm UTC](https://forums.fusetools.com/t/share-module/5974/3 "2017-05-08T19:05:23Z")

</div>

Thx! That solved it. Is it possible to share an image in the form of URL, or share a URL, through this module?

Share.shareFile(“[https://cdn.pixabay.com/photo/2014/03/05/21/12/desert-279862\_1280.jpg](https://cdn.pixabay.com/photo/2014/03/05/21/12/desert-279862_1280.jpg)”, “image/\*”, “Photo from Fuse”);

Returns empty.

---

<div class="post-metadata">

### Author: ![Uldis](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/uldis/32/657_2.png) [@Uldis](https://forums.fusetools.com/u/Uldis)
#### Post date: [May 8, 2017, 7:09pm UTC](https://forums.fusetools.com/t/share-module/5974/4 "2017-05-08T19:09:21Z")

</div>

Yes, but for that you should use another function (also documented, but not yet published): `Share.shareText("https://www.fusetools.com/", "The link to Fuse website");`

---

<div class="post-metadata">

### Author: ![znoopykid](https://avatars.discourse-cdn.com/v4/letter/z/dbc845/32.png) [@znoopykid](https://forums.fusetools.com/u/znoopykid)
#### Post date: [May 8, 2017, 7:17pm UTC](https://forums.fusetools.com/t/share-module/5974/5 "2017-05-08T19:17:44Z")

</div>

Awesome. Thx. And I assume you could achieve sharing an image from URL through first download it to phone/app (if there is support for such) and then share the path as per example?

---

<div class="post-metadata">

### Author: ![Uldis](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/uldis/32/657_2.png) [@Uldis](https://forums.fusetools.com/u/Uldis)
#### Post date: [May 8, 2017, 7:19pm UTC](https://forums.fusetools.com/t/share-module/5974/6 "2017-05-08T19:19:31Z")

</div>

I would guess so, but that remains to be tested 🙂

---

<div class="post-metadata">

### Author: ![znoopykid](https://avatars.discourse-cdn.com/v4/letter/z/dbc845/32.png) [@znoopykid](https://forums.fusetools.com/u/znoopykid)
#### Post date: [May 8, 2017, 8:02pm UTC](https://forums.fusetools.com/t/share-module/5974/7 "2017-05-08T20:02:38Z")

</div>

I can report that it does work, splendidly. 🙂

However, in both the shareFile and shareText case - the third parameter of:

Share.shareFile(image.path, “image/\*”, “Photo from Fuse”);

e.g. “photo from fuse” doesn’t make it through? Especially interesting in the share image case to also be able to pass a title/text.

Thx.

---

<div class="post-metadata">

### Author: ![Uldis](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/uldis/32/657_2.png) [@Uldis](https://forums.fusetools.com/u/Uldis)
#### Post date: [May 8, 2017, 8:09pm UTC](https://forums.fusetools.com/t/share-module/5974/8 "2017-05-08T20:09:47Z")

</div>

Interesting; worked fine in my tests.

But that’s a separate issue for a new thread with as many details as possible.
