To embed a Truth Social share button on your website, use the following snippet.

<a class="truthsocial-share"></a><script src="https://truthsocial.com/instance/share.js"></script>

Creating a custom share button

To create your own share button, construct a URL to https://truthsocial.com/share with the following query parameters:

  • title - Title of the shared webpage. Prefills in the first line in the Composer.
  • url - Link to the shared website. Prefills as the last line in the Composer.

Please ensure the text does not exceed our 500 character limit. The parameters must be URL encoded. You may then wrap this in a custom button or link. For example:

<a href="https://truthsocial.com/share?text=Trump%E2%80%99s%20Truth%20Social%20App%20Launches%20on%20Apple%E2%80%99s%20App%20Store%20on%20Presidents%E2%80%99%20Day%20Holiday&url=https%3A%2F%2Fwww.theepochtimes.com%2Ftrumps-truth-social-app-launches-on-apples-app-store-on-presidents-day-holiday_4291622.html" target="_blank">
  Share on Truth Social
</a>