{"_id":"social-likes","_rev":"7-f1eaea67fe8fba856bba8c788bd7ba28","name":"social-likes","description":"Beautiful social “like” buttons with counters for jQuery","dist-tags":{"latest":"3.1.3"},"versions":{"3.1.0":{"name":"social-likes","version":"3.1.0","description":"Beautiful social “like” buttons with counters for jQuery","homepage":"https://github.com/sapegin/social-likes","author":{"name":"Artem Sapegin","url":"http://sapegin.me/"},"repository":{"type":"git","url":"git://github.com/sapegin/social-likes.git"},"bugs":{"url":"https://github.com/sapegin/social-likes/issues"},"license":"MIT","main":"src/social-likes.js","files":["src","dist","contrib"],"engines":{"node":">=0.12.0"},"dependencies":{"jquery":">=1.8"},"devDependencies":{"autoprefixer-stylus":"~0.3.0","csso-stylus":"0.0.3","gh-pages":"~0.8.0","grunt":"~0.4.5","grunt-cli":"~0.1.13","grunt-contrib-concat":"~0.5.1","grunt-contrib-connect":"~0.11.2","grunt-contrib-imagemin":"~0.8.1","grunt-contrib-jshint":"~0.10.0","grunt-contrib-stylus":"~0.20.0","grunt-contrib-uglify":"~0.6.0","grunt-contrib-watch":"~0.6.1","grunt-csso":"~0.6.3","grunt-jscs-checker":"~0.7.1","grunt-modernizr":"~1.0.1","grunt-replace":"~0.11.0","grunt-sweet":"~0.2.2","grunt-webfont":"~0.4.8","load-grunt-tasks":"~0.6.0"},"scripts":{"build":"grunt","test":"grunt","publish":"npm run update-gh-pages && npm run build-gh-pages && npm run publish-gh-pages","update-gh-pages":"mkdir -p gh-pages/public/src && cp dist/* gh-pages/public/src/ && cp src/social-likes.js gh-pages/public/src/","build-gh-pages":"cd gh-pages && grunt && cd ..","publish-gh-pages":"gh-pages -d gh-pages/public","make-debug-symlinks":"ln -s . gh-pages/public/social-likes"},"gitHead":"768ad28606d7d9486bf48bafa9fe660f0a207d68","_id":"social-likes@3.1.0","_shasum":"d41161107ff4cde9e34861908d04f2906c433549","_from":".","_npmVersion":"3.5.2","_nodeVersion":"4.2.2","_npmUser":{"name":"sapegin","email":"artem@sapegin.ru"},"maintainers":[{"name":"sapegin","email":"artem@sapegin.ru"}],"dist":{"shasum":"d41161107ff4cde9e34861908d04f2906c433549","tarball":"https://registry.npmjs.org/social-likes/-/social-likes-3.1.0.tgz","integrity":"sha512-tMQVh79U4gZRgm3lieKq5V4tzVPvKiueiqAYFtdtab7DK0pNlgH4bUFdNs7SxyRboWTsVHndyY57dJUzE3p8ew==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHtA99TIuyQtjYsBEgHCPsHM0sc5ow9+Z0YbafPo9hJvAiEAskmgSATZ4wf3yEDDIaPwabJKSQ8oLZY/1S5jI7TPGRA="}]}},"3.1.1":{"name":"social-likes","version":"3.1.1","description":"Beautiful social “like” buttons with counters for jQuery","homepage":"https://github.com/sapegin/social-likes","author":{"name":"Artem Sapegin","url":"http://sapegin.me/"},"repository":{"type":"git","url":"git://github.com/sapegin/social-likes.git"},"bugs":{"url":"https://github.com/sapegin/social-likes/issues"},"license":"MIT","main":"src/social-likes.js","files":["src","dist","contrib"],"engines":{"node":">=0.12.0"},"dependencies":{"jquery":">=1.8"},"devDependencies":{"autoprefixer-stylus":"~0.3.0","csso-stylus":"0.0.3","gh-pages":"~0.8.0","grunt":"~0.4.5","grunt-cli":"~0.1.13","grunt-contrib-concat":"~0.5.1","grunt-contrib-connect":"~0.11.2","grunt-contrib-imagemin":"~0.8.1","grunt-contrib-jshint":"~0.10.0","grunt-contrib-stylus":"~0.20.0","grunt-contrib-uglify":"~0.6.0","grunt-contrib-watch":"~0.6.1","grunt-csso":"~0.6.3","grunt-jscs-checker":"~0.7.1","grunt-modernizr":"~1.0.1","grunt-replace":"~0.11.0","grunt-sweet":"~0.2.2","grunt-webfont":"~0.4.8","load-grunt-tasks":"~0.6.0"},"scripts":{"build":"grunt","test":"grunt","publish":"npm run update-gh-pages && npm run build-gh-pages && npm run publish-gh-pages","update-gh-pages":"mkdir -p gh-pages/public/src && cp dist/* gh-pages/public/src/ && cp src/social-likes.js gh-pages/public/src/","build-gh-pages":"cd gh-pages && grunt && cd ..","publish-gh-pages":"gh-pages -d gh-pages/public","make-debug-symlinks":"ln -s . gh-pages/public/social-likes"},"gitHead":"1a5d4042f62b514d3b958c87e871814db7a30223","_id":"social-likes@3.1.1","_shasum":"7261551bbe655b3d44031f758addeb2b07b66365","_from":".","_npmVersion":"3.8.6","_nodeVersion":"5.11.1","_npmUser":{"name":"sapegin","email":"artem@sapegin.ru"},"dist":{"shasum":"7261551bbe655b3d44031f758addeb2b07b66365","tarball":"https://registry.npmjs.org/social-likes/-/social-likes-3.1.1.tgz","integrity":"sha512-EaHsrrnMCwAN3bkGzMqEmykWIh5qbdGYy63x/s/10JXGvJ20VKjgXfT5+Sb2AZyjLkzlGzarQ2bvZTgGbO30ow==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCId9Sj+uGct6kP0TBPvD3jhzOWDx38EEL2Yay1zRm9lAIgbGNciuxytCJALuLlENx7SpqnYhx/7T+Pr/iNVkyyAuM="}]},"maintainers":[{"name":"sapegin","email":"artem@sapegin.ru"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/social-likes-3.1.1.tgz_1471611869915_0.478686791844666"}},"3.1.2":{"name":"social-likes","version":"3.1.2","description":"Beautiful social “like” buttons with counters for jQuery","homepage":"https://github.com/sapegin/social-likes","author":{"name":"Artem Sapegin","url":"http://sapegin.me/"},"repository":{"type":"git","url":"git://github.com/sapegin/social-likes.git"},"bugs":{"url":"https://github.com/sapegin/social-likes/issues"},"license":"MIT","main":"src/social-likes.js","files":["src","dist","contrib"],"engines":{"node":">=4"},"dependencies":{"jquery":">=1.8"},"devDependencies":{"autoprefixer-stylus":"~0.3.0","csso-stylus":"0.0.3","eslint":"~3.11.1","eslint-config-tamia":"~3.3.0","gh-pages":"~0.8.0","grunt":"~0.4.5","grunt-cli":"~0.1.13","grunt-contrib-concat":"~0.5.1","grunt-contrib-connect":"~0.11.2","grunt-contrib-imagemin":"~0.8.1","grunt-contrib-stylus":"~0.20.0","grunt-contrib-uglify":"~0.6.0","grunt-contrib-watch":"~0.6.1","grunt-csso":"~0.6.3","grunt-modernizr":"~1.0.1","grunt-replace":"~0.11.0","grunt-sweet":"~0.2.2","grunt-webfont":"~1.6.0","load-grunt-tasks":"~0.6.0"},"scripts":{"build":"grunt","test":"eslint src && grunt","lint":"eslint src --fix","publish":"npm run update-gh-pages && npm run build-gh-pages","update-gh-pages":"mkdir -p docs/src && cp dist/* docs/src/ && cp src/social-likes.js docs/src/","build-gh-pages":"cd gh-pages && grunt && cd ..","make-debug-symlinks":"ln -s . docs/social-likes"},"gitHead":"dcdf99c49434adec1b803d9368d2c06d14574eac","_id":"social-likes@3.1.2","_shasum":"3de27ec732543035b9d1ad4cf6a11096228e57e1","_from":".","_npmVersion":"3.10.9","_nodeVersion":"7.2.0","_npmUser":{"name":"sapegin","email":"artem@sapegin.ru"},"dist":{"shasum":"3de27ec732543035b9d1ad4cf6a11096228e57e1","tarball":"https://registry.npmjs.org/social-likes/-/social-likes-3.1.2.tgz","integrity":"sha512-6/zXS44NCwsWe1krGLGK36LCy6K3N59mCOLtKNZ7UYlHDtWr5Z9HTNko64739EGEolU6kA4nP3dDXvLEVKJpNA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCV++6KznOJzXLtZr+dYFofEi0DrsnLnp2RyonNf9IehwIhAMdhX7pweFkYRkj/i3Nvum3Y5A3JRYdbdlbYnS7p6KKq"}]},"maintainers":[{"name":"sapegin","email":"artem@sapegin.ru"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/social-likes-3.1.2.tgz_1480694516453_0.6374863255769014"}},"3.1.3":{"name":"social-likes","version":"3.1.3","description":"Beautiful social “like” buttons with counters for jQuery","homepage":"https://github.com/sapegin/social-likes","author":{"name":"Artem Sapegin","url":"http://sapegin.me/"},"repository":{"type":"git","url":"git://github.com/sapegin/social-likes.git"},"bugs":{"url":"https://github.com/sapegin/social-likes/issues"},"license":"MIT","main":"src/social-likes.js","files":["src","dist","contrib"],"engines":{"node":">=4"},"dependencies":{"jquery":">=1.8"},"devDependencies":{"autoprefixer-stylus":"~0.3.0","csso-stylus":"0.0.3","eslint":"~4.6.1","eslint-config-tamia":"~4.2.1","eslint-plugin-prettier":"^2.2.0","gh-pages":"~0.8.0","grunt":"~1.0.1","grunt-cli":"~1.2.0","grunt-contrib-concat":"~1.0.1","grunt-contrib-connect":"~1.0.2","grunt-contrib-imagemin":"~2.0.1","grunt-contrib-stylus":"~1.2.0","grunt-contrib-uglify":"~3.0.1","grunt-contrib-watch":"~1.0.0","grunt-csso":"~2.2.0","grunt-modernizr":"~1.0.2","grunt-replace":"~1.0.1","grunt-sweet":"~0.2.2","grunt-webfont":"~1.6.0","load-grunt-tasks":"~3.5.2","prettier":"^1.6.1"},"scripts":{"build":"grunt","test":"eslint src && grunt","lint":"eslint src --fix","publish":"npm run update-gh-pages && npm run build-gh-pages","update-gh-pages":"mkdir -p docs/src && cp dist/* docs/src/ && cp src/social-likes.js docs/src/","build-gh-pages":"cd gh-pages && grunt && cd ..","make-debug-symlinks":"ln -s . docs/social-likes"},"gitHead":"9f323f258957bd71b0d4c777cfd6d2211031c10e","_id":"social-likes@3.1.3","_npmVersion":"5.5.1","_nodeVersion":"8.7.0","_npmUser":{"name":"sapegin","email":"artem@sapegin.ru"},"dist":{"integrity":"sha512-9OGhLMlcWA/q8r6F2wmwD2GHyI7g+0K4nJeP/M1V5WOBUaI5hAkzthVurbeEZFE+pQ+/8UYM/nvhXfN/74xUKQ==","shasum":"1efd336b0f6f19ad7854e9351c91455d55d21c92","tarball":"https://registry.npmjs.org/social-likes/-/social-likes-3.1.3.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIH4OnAYblW0xu7TwnUaNpOYe/wkhTQ0z29akue48x/GUAiEAj83ln+IR2CCzlMTaucMK4euFfJFaLFhrYj0zZUEOzYs="}]},"maintainers":[{"name":"sapegin","email":"artem@sapegin.ru"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/social-likes-3.1.3.tgz_1511272826959_0.5599085742142051"}}},"readme":"# Social Likes\n\n[![Powered by You](http://sapegin.github.io/powered-by-you/badge.svg)](http://sapegin.github.io/powered-by-you/)\n[![Build Status](https://travis-ci.org/sapegin/social-likes.svg)](https://travis-ci.org/sapegin/social-likes)\n\n**[Try the all new Social Likes Next](http://social-likes-next.js.org/): no jQuery, no counters, Retina, IE11+, improved skins.**\n\nBeautiful share buttons with counters for popular social networks: Facebook, Twitter, Google+, Pinterest, Vkontakte, etc. Uses jQuery.\n\n[![](http://wow.sapegin.me/image/1f1U2S130d3R/social-likes.png)](http://sapegin.github.io/social-likes/)\n\n[See demo](http://sapegin.github.io/social-likes/)\n\n## Features\n\n- Easy to install.\n- Beautiful and all in one style (with three different skins).\n- Won’t explode your page’s layout.\n\n\n## Installation and configuration\n\nUse [interactive builder](http://sapegin.github.io/social-likes/) to generate the code.\n\nOr install via npm: `npm install --save social-likes`.\n\n\n## Advanced configuration\n\n### Layout\n\n#### Default\n\nAll buttons in a row.\n\n```html\n<div class=\"social-likes\">\n\t<div class=\"facebook\" title=\"Share link on Facebook\">Facebook</div>\n\t...\n</div>\n```\n\n#### Vertical\n\nAll buttons in a column.\n\n```html\n<div class=\"social-likes social-likes_vertical\">\n\t<div class=\"facebook\" title=\"Share link on Facebook\">Facebook</div>\n\t...\n</div>\n```\n\n#### Single button\n\nOne button with a counter (sum of all the networks). Opens popup with like buttons in vertical layout. Use `data-single-title` attribute to change button title.\n\n```html\n<div class=\"social-likes social-likes_single\" data-single-title=\"Share me!\">\n\t<div class=\"facebook\" title=\"Share link on Facebook\">Facebook</div>\n\t...\n</div>\n```\n\n#### Icons only\n\nIf you want to remove button titles add `social-likes_notext` class to make it looks better.\n\n```html\n<div class=\"social-likes social-likes_notext\">\n\t<div class=\"facebook\" title=\"Share link on Facebook\"></div>\n\t...\n</div>\n```\n\n\n### Options\n\nOptions define via HTML data attributes or JavaScript parameters object.\n\n`url`\n\nURL of shareable page. Current page by default.\n\n`title`\n\nTitle for Twitter, Vkontakte and LiveJournal. Current page’s title by default.\n\n`html`\n\nHTML code for LiveJournal button. By default <A> tag with link to current page.\n\n`counters`\n\nDisables “likes” counters when “no”. Default: “yes”.\n\n`zeroes`\n\nShow counters even when number is `0`. Default: “no”.\n\n`single-title`\n\nShare button title for “single button” mode. Default: “Share”.\n\nExamples:\n\n```html\n<div class=\"social-likes\" data-url=\"http://landscapists.info/\" data-title=\"Landscapists of Russia\">\n\t…\n</div>\n```\n\n```html\n<div class=\"social-likes social-likes_single\" data-single-title=\"This is Sharing!\">\n\t…\n</div>\n```\n\n```js\n$('.social-likes').socialLikes({\n\turl: 'https://github.com/sapegin/social-likes/',\n\ttitle: 'Beautiful “like” buttons with counters for popular social networks',\n\tcounters: true,\n\tsingleTitle: 'Share it!'\n});\n```\n\n\n### Services specific options\n\n#### Twitter\n\nYou can specify `via` (site’s or your own Twitter) and `related` (any other Twitter you want to advertise) values for `<div class=\"twitter\">`:\n\n```html\n<div class=\"twitter\" data-via=\"sapegin\" data-related=\"Landscapists\">Twitter</div>\n```\n\n#### Pinterest\n\nYou should specify an image URL via data-media attribute on `<div class=\"pinterest\">`:\n\n```html\n<div class=\"pinterest\" data-media=\"http://example.com/image/url.jpg\">Pinterest</div>\n```\n\n### Manual initialization\n\nCould be useful on dynamic (AJAX) websites.\n\n```html\n<div id=\"share\">\n\t<div class=\"facebook\">Facebook</div>\n\t...\n</div>\n```\n\n```javascript\n$('#share').socialLikes();\n```\n\n\n### Dynamic URL changing\n\nYou can dynamically replace URL, title and Pinterest image without reinitialization.\n\n```html\n<div id=\"share2\" class=\"social-likes\" data-url=\"http://example.com/\" data-title=\"My example\">\n\t<div class=\"facebook\">Facebook</div>\n\t...\n</div>\n```\n\n```javascript\n$('#share2').socialLikes({\n\turl: 'https://github.com/',\n\ttitle: 'GitHub',\n\tdata: {\n\t\tmedia: 'http://birdwatcher.ru/i/userpic.jpg'  // Image for Pinterest button\n\t}\n});\n```\n\n\n### Refreshing counters\n\nBy default counters for any unique URL requested only once. You can force new request with `forceUpdate` option:\n\n```javascript\n$('#share2').socialLikes({\n\tforceUpdate: true\n});\n```\n\n\n### Events\n\n#### `counter.social-likes`\n\nTriggers for every counter.\n\n```javascript\n$('.social-likes').on('counter.social-likes', function(event, service, number) {\n\t// service: facebook, twitter, etc.\n});\n```\n\n#### `ready.social-likes`\n\nTriggers after all counters loaded.\n\n```javascript\n$('.social-likes').on('ready.social-likes', function(event, number) {\n\t// number is total number of shares\n});\n```\n\n#### `popup_opened.social-likes`\n\nTriggers after popup window opened.\n\n```javascript\n$('.social-likes').on('popup_opened.social-likes', function(event, service, win) {\n\t// win is popup window handler (window.open())\n});\n```\n\n#### `popup_closed.social-likes`\n\nTriggers after popup window closed.\n\n```javascript\n$('.social-likes').on('popup_closed.social-likes', function(event, service) {\n\t// Request new counters\n\t$(event.currentTarget).socialLikes({forceUpdate: true});\n\n\t// Or just increase the number\n\tvar counter = $(event.currentTarget).find('.social-likes__counter_' + service);\n\tcounter.text(+(counter.text()||0)+1).removeClass('social-likes__counter_empty');\n});\n```\n\n\n### Adding your own button\n\nYou can find some custom buttons in `contrib` folder.\n\nDefine `socialLikesButtons` object:\n\n```javascript\nvar socialLikesButtons = {\n\tsurfingbird: {\n\t\tpopupUrl: 'http://surfingbird.ru/share?url={url}',\n\t\tpopupWidth: 650,\n\t\tpopupHeight: 500\n\t}\n};\n```\n\nOr with a custom click handler:\n\n```javascript\nvar socialLikesButtons = {\n\tlivejournal: {\n\t\tclick: function(e) {\n\t\t\t// this.widget.data('something')\n\t\t}\n\t}\n};\n```\n\nAdd some CSS:\n\n```css\n.social-likes__button_surfingbird {\n\tbackground: #f2f3f5;\n\tcolor: #596e7e;\n\tborder-color: #ced5e2;\n\t}\n.social-likes__icon_surfingbird {\n\tbackground: url(http://surfingbird.ru/img/share-icon.png) no-repeat 2px 3px;\n\t}\n```\n\nAnd use it like any other button:\n\n```html\n<div class=\"surfingbird\">Surf</div>\n```\n\nSee sources (`src` folder) for available options and class names and `contrib` folder for custom buttons examples.\n\n\n## FAQ\n\n### Likes or shares?\n\nThis plugin allows your users to “share” the content of your website. (Un)fortunately¹ real “likes” are possible only when you use original Facebook, Google+, etc. buttons.\n\n¹ I believe that “shares” are much better and valuable than “likes” because they’re more visible in feed and users could add they’re own comments to links they share. “Like” costs nothing.\n\n### How to change title, description and image\n\nYou can use [Open Graph](http://ogp.me/). It works for [Facebook](http://davidwalsh.name/facebook-meta-tags), Twitter, [Google+](https://developers.google.com/+/web/snippet/), [Pinterest](http://developers.pinterest.com/rich_pins/) and [Vkontakte](http://vk.com/dev/widget_like)). \n\nYou can add additional Twitter data using [Twitter Card](https://dev.twitter.com/cards/overview). You have to [approve](https://dev.twitter.com/docs/cards/validation/validator) every type of Twitter Card.\n\n```html\n<meta property=\"og:type\" content=\"article\">\n<meta property=\"og:url\" content=\"{page_url}\">\n<meta property=\"og:title\" content=\"{title}\">\n<meta property=\"og:description\" content=\"{description}\">\n<meta property=\"og:image\" content=\"{image_url}\">\n<meta name=\"twitter:card\" content=\"summary\">\n<meta name=\"twitter:site\" content=\"@SiteTwitter\">\n<meta name=\"twitter:creator\" content=\"@sapegin\">\n```\n\nIf you’re experiencing any problems with meta data try [Open Graph Debugger](https://developers.facebook.com/tools/debug/) and [Twitter Card Validator](https://dev.twitter.com/docs/cards/validation/validator).\n\n### How to fix Twitter counter\n\nTwitter counter API [was disabled by Twitter](https://github.com/sapegin/social-likes/releases/tag/3.0.15) but you can replace it with [OpenShareCount](http://opensharecount.com/). It’s free but you have to register your site there.\n\n1. [Create account](http://opensharecount.com/) at OpenShareCount.\n\n2. Add this script before you include `social-likes.js`:\n\n```html\n<script>\nvar socialLikesButtons = {\n  twitter: {\n    counterUrl: 'https://opensharecount.com/count.json?url={url}&callback=?',\n    convertNumber: function(data) {\n      return data.count;\n    }\n  }\n};\n</script>\n```\n\n### How to use Social Likes with Wordpress, etc.\n\nSee [wiki](https://github.com/sapegin/social-likes/wiki/How-to-use-Social-Likes-with-Wordpress,-etc.).\n\n### How to track activity with Google Analytics\n\nYou can track how many people click on each social button on your site with Google Analytics (or other analytics service). Note that you can track clicks only, not real shares.\n\n```javascript\n$(document).on('popup_opened.social-likes', function(event, service) {\n    ga('send', 'social', service, 'share', location.href);\n});\n```\n\n## Troubleshooting\n\n### The buttons don’t work, displayed without design or don’t displayed at all\n\nFirst look at your [browser’s console](http://www.wickedlysmart.com/hfjsconsole/). If you see an error “Uncaught ReferenceError: jQuery is not defined”:\n\n![](http://wow.sapegin.me/image/1f1h1d0z2d1j/Image%202014-11-19%20at%205.45.14%20PM.png)\n\nThen you need to include jQuery into your page. Make sure you use version at least 1.7 (and lower than 2.0 if you need to support IE8) and you include jQuery before `social-likes.js`. The easiest way to do it is to use Google CDN:\n\n```html\n<script src=\"http://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js\"></script>\n```\n\nIf you don’t see any error check the following:\n\n1. `social-likes.js` is included after jQuery and the path is correct.\n\n2. `social-likes_flat.css` or `social-likes_classic.css` or `social-likes_birman.css` is included in <head> of your page and the path is correct.\n\nSo you need your page to look like this:\n\n```html\n<!DOCTYPE html>\n<html>\n<head>\n\t<meta charset=\"utf-8\">\n\t<title>Welcome to my site!</title>\n\t<link href=\"social-likes_birman.css\" rel=\"stylesheet\">\n\t<script src=\"http://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js\"></script>\n\t<script src=\"social-likes.js\"></script>\n\t...\n```\n\n### Counters don’t work\n\n**Twitter counter was disabled in [3.0.15](https://github.com/sapegin/social-likes/releases/tag/3.0.15).**\n\nIn most cases if you don’t see counters it’s because social networks APIs return zeros. You could check API requests results in Network tab in your browser’s developer tools:\n\n![](https://d3vv6lp55qjaqc.cloudfront.net/items/2F3F0u0Q0D1D3u142X0d/Image%202014-03-06%20at%205.33.14%20%D0%BF%D0%BE%D1%81%D0%BB%D0%B5%20%D0%BF%D0%BE%D0%BB%D1%83%D0%B4%D0%BD%D1%8F.png)\n\nDouble check that you use canonical URLs (without extra parameters such as `utm_source`). You can change URL via [`data-url` option](#options).\n\nIf you have more than one Social Likes blocks on a page with different URLs, Google+ counter will work only for the first block. Google+ counter also won’t work when you refresh counters with `forceUpdate` option or change URL dynamically.\n\nIf your site have internationalized domain name (e.g. `президент.рф`) make sure you convert it to [Punycode](https://en.wikipedia.org/wiki/Punycode) (e.g. `xn--d1abbgf6aiiy.xn--p1ai`).\n\nIf you’re sure that it’s a bug please file an issue **and provide a link** to a page with non-working counter.\n\n## Release History\n\nThe changelog can be found on the [Releases page](https://github.com/sapegin/social-likes/releases).\n\n## Contributing\n\nEveryone is welcome to contribute. Please take a moment to review the [contributing guidelines](Contributing.md).\n\n## Author\n\n* [Artem Sapegin](http://sapegin.me/)\n\n\n---\n\n## License\n\nThe MIT License, see the included [license.md](license.md) file.\n","maintainers":[{"name":"sapegin","email":"artem@sapegin.ru"}],"time":{"modified":"2022-06-26T21:50:14.268Z","created":"2016-01-10T18:27:51.137Z","3.1.0":"2016-01-10T18:27:51.137Z","3.1.1":"2016-08-19T13:04:31.197Z","3.1.2":"2016-12-02T16:01:57.306Z","3.1.3":"2017-11-21T14:00:28.124Z"},"homepage":"https://github.com/sapegin/social-likes","repository":{"type":"git","url":"git://github.com/sapegin/social-likes.git"},"author":{"name":"Artem Sapegin","url":"http://sapegin.me/"},"bugs":{"url":"https://github.com/sapegin/social-likes/issues"},"license":"MIT","readmeFilename":"Readme.md"}