I want to build a share button for a certain URL, but I want to keep my solution as simple as possible. I would like to avoid having to import any JS framework or toolkit from their SDK to do this.
For instance, in Twitter, I can get that same result with this code:
<a href="https://twitter.com/intent/tweet?text=${myTextVariable}&url=${myUrlVariable}">Share</a>
In here I can customize the URL and the predefined text that the tweet will contain.
Is there an analog way to achieve this for facebook?