Like Button code generator



Yes  No

Yes  No


Button name is used for statistics analysis. It must be unique for each button, otherwise the same voting will be reflected to all the buttons having the same name.


Yes  No

Yes  No

Yes  No

Yes  No

Yes  No

Yes  No

Yes  No

Yes  No

Yes  No

Yes  No


How often visitor can vote per button. Number in seconds, minimum 1 second. Make sure that its value is less than IP address vote interval of your website. Visitor can vote again only after reloading the page.


Yes  No


Yes  No


You can set initial number of likes for buttons on Websites page.


Yes  No

Yes  No

Yes  No

Yes  No




Yes  No

Yes  No




Yes  No

Item information is used for sharing the item in social networks and for displaying the rating in Google Rich Snippets.




(Optional)



(Used in Google Rich Snippets only. The date and time the item was published, in ISO 8601 format: 2024-12-07T08:00:00+08:00)


Yes  No

Yes  No


Yes  No

Yes  No

Yes  No


Specify Site ID in following cases:
  • Your website has multiple domain names (aliases).
  • Your site is local – located on a local server and is available from your local network only and NOT available from the Internet.
  • Your site is path-based – one of sites located in different subdirectories of one domain and you want to have statistics separate from other sites.
You can find Site ID on your Websites page after adding your website to your account.


The provided function receives the event object as its single argument. The event object has the following properties:

type – indicates which event was dispatched:
  • "likebtn.loaded"
  • "likebtn.like"
  • "likebtn.unlike"
  • "likebtn.dislike"
  • "likebtn.undislike"
settings – button settings
wrapper – button DOM-element

Yes  No














            


Didn't find what you need? Visit our FAQ