This is the way you can create social media sharing buttons to share current posts or pages on social media, instead of relying on any plugin. Also, all social media platforms do provide such URLs for developers so you can google for more platforms when required.
Following is the code to put in the template:
<ul> <li><a href="https://www.facebook.com/sharer/sharer.php?u=<?php global $wp;echo home_url( $wp->request ); ?>"><span><i class="fab fa-facebook-f"></i></span> Facebook</a></li> <li><a href="https://www.linkedin.com/sharing/share-offsite/?url=<?php echo home_url( $wp->request ); ?>"><span><i class="fab fa-linkedin-in"></i></span> Linkedin</a></li> <li><a href="whatsapp://send?text=<?php echo home_url( $wp->request ); ?>" data-action="share/whatsapp/share"><span><i class="fab fa-whatsapp"></i></span> Whatsapp</a></li> </ul>