Use this markup to directly trigger sharing on one of the social media platforms. They all use a class name with a similar pattern: swell-share-referral-[platform]

Platform Class Names

Facebook Messengerswell-share-referral-messenger
<!-- as links but can easily be any html element -->

  <!-- facebook -->
  <a class="swell-share-referral-facebook" href="javascript:void(0)">
    <i class="fa fa-facebook-square"></i> Share your referral link on Facebook

  <!-- facebook messenger -->
  <a class="swell-share-referral-messenger" href="javascript:void(0)">
    <i class="fa fa-comments-o"></i> Share your referral link via Facebook Messenger

  <!-- twitter -->
  <a class="swell-share-referral-twitter" href="javascript:void(0)">
    <i class="fa fa-twitter-square"></i> Share your referral link on Twitter

  <!-- email -->
  <a class="swell-share-referral-email" href="javascript:void(0)">
    <i class="fa fa-envelope"></i> Share your referral link via Email

  <!-- sms -->
  <a class="swell-share-referral-sms" href="javascript:void(0)">
    <i class="fa fa-mobile"></i> Share your referral link via SMS