div
tag into the webpage at the position for embedding LikeCoin button:<div class="likecoin-embed likecoin-button" data-liker-id="{YOUR_LIKECOIN_ID}" data-href="YOUR_WEBPAGE_URL"></div>
data-liker-id
data-liker-href
data-liker-id
is required and refers to your Liker ID, where data-href
is optional and refers to your page's canonical URL. If omitted, the SDK will use the current URL of the browser. It is suggested to always include a data-href
script
tag at the end of the body
tag:<script src="https://static.like.co/sdk/v1/button.js"></script>