Constructing a hyperlink to share content onto LINE Messenger



Published: 2022-08-13 17:39:48 +0000
Categories: Misc,

Language

Misc

Description

Nowadays, most sites will find that the majority of their traffic arrives as the result of someone else sharing or "likeing" the content on Social Media. As a result, it's desirable to make the act of sharing as easy as possible.

The various social networks often provide "share this" widgets that can be embedded into sites. However, these involve the user's browser requesting resources from the social network, and these requests are known to be data-mined in order to track users across the web and profile their browsing habits (to better sell ads).

However, most social media networks do make it possible to create a share button which works via a simply hyperlink.

This snippet details how to construct a link which shares a page onto LINE. You can see an example of how to put this into practice as a share button inside a site's template here

Snippet

https://line.me/R/msg/text/?<text>

Usage Example

https://line.me/R/msg/text/?The+home+of+Ben+Tasker+https://www.bentasker.co.uk

Keywords

social media, sharing, share link, LINE,

Latest Posts


Copyright © 2022 Ben Tasker | Sitemap | Privacy Policy
Available at snippets.bentasker.co.uk, http://phecoopwm6x7azx26ctuqcp6673bbqkrqfeoiz2wwk36sady5tqbdpqd.onion and http://snippets.bentasker.i2p
hit counter