LJ-Like is a feature which allows users to share their support of an author's entry in various ways. By inserting the <lj-like> tag into an entry, an author enables services that a reader can use to show their appreciation of the work. LJ-Like currently supports following services: Facebook (Like), Google (+1), LJ Give (10 LJ Tokens)
, Twitter (Tweet), Vkontakte (Like), Surfingbird, Tumblr, and Pocket. With the exception of LJ Give, clicking the button of an LJ-Like service in the entry will share that entry to the social media platform selected by the user. LJ Give works differently. Each time a LiveJournal user clicks the LJ Give button, 10 tokens are transferred from the user to the author of the entry in which the button appears.
Placing the <lj-like> tag into an entry without setting any parameters will display the most popular services available. When posting an entry, you can insert LJ-Like using either the HTML editor (by typing <lj-like> manually) or Visual editor (by pressing the 'Thumbs up' button and choosing from the dropdown menu social services you would like to see in your post).
In HTML editor you can specify the inclusion and display order of the LJ-Like services by using the 'buttons' parameter. For example:
LJ-Like feature with no parameters
<lj-like /> LJ-Like feature with the LJ Give (10 LJ Tokens) service enabled
<lj-like buttons="livejournal" /> or <lj-like buttons="lj" />LJ-Like feature with the Facebook 'Like' and Google '+1' services enabled
<lj-like buttons="facebook, google" /> or <lj-like buttons="fb, go" />
Some services can be referenced with one of two possible parameter values:
- Facebook: facebook or fb
- Vkontakte: vkontakte or vk
- Twitter: twitter or tw
- Google: google or go
- LJ Give: livejournal or lj