The following links are embedded into the three icons on the Back-on Track-ebook-new page and its landing page. The URL and titles are hardcoded.
Facebook
https://www.facebook.com/sharer.php?u=[post-url]
Facebook Example:
https://www.facebook.com/sharer.php?u=https%3A%2F%2Fwww.functionalmovementclub.com%2Fback-on-track-e-book-new%2F
-----------------------------
Twitter
https://twitter.com/share?url=[post-url]&text=[post-title]&via=[via]&hashtags=[hashtags]
Twitter Example
https://twitter.com/share?url=https%3A%2F%2Fwww.functionalmovementclub.com%2Fback-on-track-e-book-new%2F&text=Back%20on%20Track%20E-book
-----------------------------
Linkedin
https://www.linkedin.com/sharing/share-offsite?url=[post-url]&text=[post-title]
Linkedin Example
https://www.linkedin.com/sharing/share-offsite?url=https%3A%2F%2Fwww.functionalmovementclub.com%2Fback-on-track-e-book-new%2F&text=Back%20on%20Track%20E-book
For future projects which require dynamic urls and titles, the implementation can follows these reference:
- Social Share URLs for Handy Reference: Facebook, WhatsApp, Twitter, Buffer, Google+, LinkedIn & lot more
- Create Superfast Social Sharing Buttons without JavaScript with simple CSS
