# Bubble - Share Text Plugin

### Overview

This plugin allows you to make a text within your webpage shareable just by highlighting the text. The highlighted portion of the text can then be shared via email, twitter, linkedin and optionally facebook (if you have a facebook app id). The plugin fetches the highlighted text, as well as the page title and the page url to share.

Note: this plugin does not work on mobile devices.

For a demo of this plugin please visit: <https://thesitebot.com/sharetextplugin>

### Instructions

1. Enable the option to add ID attributes to HTML elements by going to settings->general of your app.
2. Drag the "Share Text" Element onto your page. Choose the text where the effect should be applied and specify an unique id attribute in the element inspector.
3. Insert the same Id attribute into the Element ID field within the element inspector of the share text element.
4. (optional) If you want to enable Facebook sharing, check the "Facebook share" checkbox and enter the app id of your facebook app - <https://developers.facebook.com/>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://anticode.gitbook.io/templates/plugins/bubble-share-text-plugin.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
