Tweaking the Tweet Follow Button
This is what the function currently does

public function tweetButton($options = [])
{
    $dataAttributes = $this-&gt;getOptionsAsDataAttributes($options);

    $html = '&lt;a class="twitter-share-button" href="https://twitter.com/share"'.$dataAttributes.'&gt;Tweet&lt;/a&gt;';

    return $html;
}


So it returns an a tag rather than a link. You should remove your outer tag but you can't place your custom text. You would have to use a string replace function 

{{ twitterTweetButton()|replace({'&gt;Tweet&lt;':' &gt;my custom text&lt;' }) }}