FAQ

General Questions

  1. Add the Like Button to your local website and make sure it is being loaded.
  2. Add your local website to the panel on the Websites page. Make sure to check the "Local" checkbox when adding.
  3. After adding find Site ID on your Websites page and specify it as site_id parameter for all the Like Buttons on your local site.
  4. Upgrade your website to the desired plan.
  5. When making API calls pass the full local domain name along with the code after ! (for example localdomain!50f358d30acf358d30ac000001) from the Websites page as domain parameter.
Like Button connects to our server on load when visitor opens a page with the Like Button on it and when visitor votes. Like Buttons are loaded asynchronously and requests to the server are also sent asynchronously without interfering with the display and behavior of your site.
Just add your website to your account using either internet based or mobile domain on Websites page and than add other domain using "Add domain to the website" button.
As stated in our Terms of Service we are not allowed and never share any of your personal data, your website data or collected statistical information with third parties.

Troubleshooting

You need to specify a unique name for each like button using identifier parameter:
<span class="likebtn-wrapper" data-identifier="Unique identifier of the item or its URL"></span>
If you are using a website builder or blogging system contact it's customer support and find out how to get a post identifier in the post template.
LikeBtn has an elaborate caching system and uses a variety of techniques to prevent cheating. So, don't worry, after some time your vote will be available for everyone and anyone who is looking at this Like Button on your website will see how many votes it ultimately has including your vote.

If you are using CloudFlare Rocket Loader on your website and experience problems with likes updating, disable the Rocket Loader.

If you are voting from different browsers or computers having the same IP address the "IP address vote interval" parameter is taken into account. Voting from the same IP address is allowed once in "IP address vote interval" which is set individually for each website on Websites page and by default equals to 24 hours.
If visitors are voting from the same IP address from different browsers only one vote is being accepted. Voting from the same IP address is allowed once in "IP address vote interval" which is set individually for each website on Websites page and by default equals to 24 hours.
If you are using CloudFlare Rocket Loader on your website, disable the Rocket Loader.

Fraud Protection

LikeBtn uses visitor's IP, User-Agent, request time and other information from the HTTP request to ensure votes uniqueness.
No one anonymous voting system can provide a guarantee of 100% that all votes are valid. LikeBtn allows to vote from the same IP address in determined interval of time (each site has an "IP address vote interval" parameter). Also the service provides statistics on votes from duplicate IP addresses. So taking this information into account you can adjust the "IP address vote interval" for your website on Websites page and/or change number of votes on Statistics page.
It's an illusion. "Results" of cheating are available for cheater only, so cheater thinks that cheating was successfull while the real results available for other visitors stay unaffected.
If you are voting from different browsers or computers having the same IP address the "IP address vote interval" parameter is taken into account. Voting from the same IP address is allowed once in "IP address vote interval" which is set individually for each website on Websites page and by default equals to 24 hours.
It is a normal situation on the Internet that several computers have the same IP address. For example computers of all the employees of the organization may have the same external IP address. So if you have 5 duplicate IP addresses and 11 votes from duplicate IP addresses, it does not mean that you necessarily have to delete 11 votes. The statistics on duplicate IP addresses and votes is presented for information purposes only. Taking this information into account you can adjust "IP address vote interval". It's up to you weather to remove "duplicate" votes or not.

Development

Use the following code:
if (typeof(LikeBtn) != "undefined") {
    LikeBtn.init();
}
  1. Remove current Like Button: $("#likebtn").remove();
  2. Insert HTML code of the Like Button with the new identifier.
  3. Initialize the button:
    if (typeof(LikeBtn) != "undefined") {
        LikeBtn.init();
    }
Some services, most notably Facebook and LinkedIn, do not use passed parameters. Rather, they use meta tags in the <head> section to determine the title, description and image to share:

<meta property="og:title" content="Like Button for website" />
<meta property="og:description" content="LikeBtn widget is the like counter, it allows you to add the Like Button to the website with just a few lines of HTML-code and organize anonymous voting on the site" />
<meta property="og:image" content="https://likebtn.com/i/logo.png?v=40" />
<link rel="image_src" href="https://likebtn.com/i/logo.png?v=40" />
See this blog post for more information.

Google Rich Snippets

Rich Snippets are a kind of microdata which are used to provide additional information along with the address of the website. When Rich Snippets are employed, Google is able to display a bit more information about the actual result including star rating and the number of votes:
Introduction to Rich Snippets:
The first major of advantage of Rich Snippets is the simple fact that they draw users’ attention. In short, someone is more likely to click on a film review with the star rating showing beneath it than the one without. In fact, many companies report seeing a 20-30% rise in CTR after implementing Rich Snippets.
  • If you are using Like button plugin, enable Rich Snippets through the plugin's admin dashboard.
  • If you are placing the Like button using HTML-code make sure to set rich_snippet option to true and specify item information.
After about a 2 weeks Google will find structured data on your website. If Google internal algorithms will decide after about 2 months Google will begin displaying Rich Snippets for your website in search results.
  1. In order to check markup on your website use Structured data report in Google Webmaster Tools under Search Console » Site Appearance » Structured Data:
    How can I check Rich Snippets on my website?
    If you see something like this it means that Google already indexed structured data on your website (but it does guarantee that Google will show up Rich Snippets in search results).

    Keep in mind that Google Structured Data Testing Tool will not recognize microdata added by Like button, because it is testing against structured data which is the part of the HTML of the page, and Like buttons are adding microdata with JavaScript.
  2. In order to check if Google is displaying Rich Snippets for your website find in Google any page from your website having the Like button (for example by page title).

Make sure that you've enabled Rich Snippets for Like buttons on your website.

Google does not guarantee that Rich Snippets will show up for search results from a particular site.

Here are some reasons that marked-up pages might not be shown with Rich Snippets:
  • If Google can't properly crawl and index your site content, it can't show it in search results.
  • The site has very few pages (or very few pages with marked-up structured data) and may not be picked up by Google's Rich Snippets system.
  • Google internal algorithms just decided that pages of your website are not suitable for showing Rich Snippets in search results.

Plugins

  • Make sure that you have registered, added your website to your account and upgraded it to the tariff plan allowing to retrieve Statistics.
  • Make sure that you have enabled the plugin in your CMS.
  • Make sure that you have properly configured synchronization of likes into your local database on the plugin settings page in the CMS.
  • Make sure that you are following rules of forming like buttons' identifiers for your CMS (see identifier structure for your CMS).
  • Make sure that at least one Like Button has been clicked on your website.


Didn't find what you need? Visit our FAQ