> ## Documentation Index
> Fetch the complete documentation index at: https://docs.median.co/llms.txt
> Use this file to discover all available pages before exploring further.

# Snapchat

> Check whether Snapchat is installed and share images and text directly to the Snapchat app with the JavaScript Bridge.

Share text and media directly to the Snapchat mobile app.

## Implementation guide

### Checking for availability

Before attempting to share content, check whether **Snapchat is installed on the user’s device** to prevent errors and improve the user experience.

Use the following JavaScript Bridge command:

Median JavaScript Bridge

```javascript JavaScript theme={null}
const {isInstalled} = await median.socialShare.snapchat.isInstalled();
```

### Sharing media

Snapchat media sharing only supports media in a `Blob` object. You can save a remote image as a `Blob` using the following code snippet.

```javascript JavaScript theme={null}
  fetch("url-to-image")
  .then(function(response) {
    return response.blob();
  })
  .then(function(blob) {
    // here the image is a blob
  });
```

Other plugins from Median (such as the [Web Screenshot plugin](https://docs.median.co/docs/web-screenshot.md)) also export images as Blobs which can then be used with this plugin.


## Related topics

- [Social share overview](https://docs.median.co/docs/social-share.md)
- [Integrations](https://docs.median.co/docs/integrations.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.