# SharinPix Share Selection

{% hint style="info" %}
SharinPix Share Selection Component allows you to share images that have been selected on SharinPix components, such as SharinPix Album, SharinPix Search and SharinPIx Related Search.
{% endhint %}

<figure><img src="https://2221230591-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5EvYRrLbUyvRh8o1jmMG%2Fuploads%2Fgit-blob-a2c07d83c5a254fda2bca229ab852903dae0c5bb%2Fsharinpix_share.png?alt=media" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
**Information:**

This feature is only available on Lightning. It can be used:

* Community Builder
* Page Builder
* Desktop
* Mobile
  {% endhint %}

## Getting Started

To use the SharinPix Album component, you simply need to drag and drop the component from the Lightning App Builder onto your page layout.

<figure><img src="https://2221230591-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5EvYRrLbUyvRh8o1jmMG%2Fuploads%2Fgit-blob-5950dd4757ca0b135711c7767327eee41f431a7b%2Fscreenshot-sharinpix-fsl-demo-dev-ed.lightning.force.com-2022.04.29-16_48_15%20(9).png?alt=media" alt=""><figcaption></figcaption></figure>

### Lightning Component Parameters

<figure><img src="https://2221230591-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5EvYRrLbUyvRh8o1jmMG%2Fuploads%2Fgit-blob-24d019f3caa3d96d72b523fb6c1895d321aaef5c%2Fsharinpix_share%20(2).png?alt=media" alt=""><figcaption></figcaption></figure>

**Generate Token Button Label:** Used to specify the button's label. The default value is **Generate Shareable Images URL**.

{% hint style="info" %}
The button SharinPix Share Selection will only be enabled when one or more images have been selected.
{% endhint %}

## Demo

### Copy Generated Token and URL

The component provides 2 buttons **Copy Shearable URL** and **Copy Token.**

* **Copy Shearable URL** will copy the generated token with the SharinPix base URL.
* **Copy Token** will copy only the token which has been generated.

The generated token has an expiry date of **90 days** after being generated.

<figure><img src="https://2221230591-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5EvYRrLbUyvRh8o1jmMG%2Fuploads%2Fgit-blob-6108d0c129f6e813ac9b9113e412995dddbd2469%2Fsharinpix_share%20(3).png?alt=media" alt=""><figcaption></figcaption></figure>

{% hint style="warning" %}
The generated token has an expiry date of **90 days** after being generated.
{% endhint %}

### Limitations

{% hint style="warning" %}
Only a maximum of 125 images can be shared.
{% endhint %}

<figure><img src="https://2221230591-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5EvYRrLbUyvRh8o1jmMG%2Fuploads%2Fgit-blob-5f4c8278bb35d68bea98d263f882af60be4d8f04%2Fsharinpix_share%20(4).png?alt=media" alt=""><figcaption></figcaption></figure>
