JSFiddle - React, Tailwind, and code Playground

by Jihwan Kim

HTML

<a id="follow" href="https://twitter.com/username"
   class="twitter-follow-button"
   data-show-count="false"
   data-show-screen-name="false">Follow @username</a>

JavaScript

function (d, s, id) {
  var js, fjs = d.getElementsByTagName(s)[0], p = /^http:/.test(d.location) ? 'http' : 'https';
  if (!d.getElementById(id)) {
    js = d.createElement(s);
    js.id = id;
    js.src = "https://platform.twitter.com/widgets.js";
    fjs.parentNode.insertBefore(js, fjs);
  }
}(document, 'script', 'twitter-wjs');