To allow visitors to follow a Truth Social user directly from your website, use the following snippet:

<div data-truth-social-follow-button data-username="USERNAME"></div>
<script async src="https://embed.truthsocial.com/embed.js"></script>

Customizing the Follow Button

To make the follow button specific to a particular user, replace USERNAME in the data-username attribute with the Truth Social username of the account you want users to follow. For example, if the username is @ExampleUser, the code would look like this:

<div data-truth-social-follow-button data-username="ExampleUser"></div>
<script async src="https://embed.truthsocial.com/embed.js"></script>

Instructions

  1. Copy the code snippet above.
  2. Replace USERNAME in the data-username attribute with the Truth Social username of the account.
  3. Paste the updated code into your website's HTML where you want the follow button to appear.
  4. Save and refresh your website to ensure the button displays correctly.
  5. Once added, visitors can click the button to follow the specified user on Truth Social seamlessly.