Add a Share Button

For: Page editors.

Add a Post button to share a public X link. A click opens X in a new tab. The new post has your link and any text you add. Readers post it from their own X account.

Live example

This button shares a public post. On a launch page, you can add one for your own X link. In Prefilled post text, enter a short note.

Try it: select Post. X opens in a new tab with a new post that holds the link. You post it from your own X account.

The Share Button macro as readers see it on a Confluence page

đź”— Live demo sample: open this button running in Confluence.

Before you start

  • You can edit this page.

  • You have a supported X post, profile, List or broadcast URL.

  • You do not need an X API key.

Readers choose to open X. They check the post and send it there. The app does not post for them. X may ask them to sign in.

Add it to a page

  1. Open the page’s insert menu. Choose Share Button.

  2. Enter a supported X post, profile, List or broadcast URL in Item to share.

  3. Choose your settings and check the preview.

  4. Choose Insert.

  5. On a regular page, publish or update it. Others can then see what you added.

To change it later, open its editor.

In the editor, Share Button is selected.
In the editor, Share Button is selected.

Settings

Setting

What it does

Prefilled post text

Text readers can review and change on X.

Credited account

Account to credit in the new post.

Hashtag

Hashtag to include.

First recommended account / Second recommended account

Accounts passed to X as suggestions; X decides whether to display them.

Large button

Use a larger button.

Alignment on the page

Place the button left, center or right.

Widget language

Change the button label language. Automatic uses the reader’s language setting. Starting text stays in the language you wrote it in.

Check the result

View the page as a reader. Select the button and check that it opens the right action on X. Readers choose what to do on X.

On X, the reader gets a post draft with the shared link.
On X, the reader gets a post draft with the shared link.

Formerly titled “Buttons”, “Add X action buttons”.