diff --git a/README.md b/README.md
index 0e2a109..5cd6512 100644
--- a/README.md
+++ b/README.md
@@ -16,7 +16,7 @@ Or install via npm and include from your `node_modules` folder
Or install via zip, then include jQuery and Font-Awesome and the plugin on a page.
```html
-
+
@@ -51,6 +51,7 @@ To make the social share buttons appear next to the specific content, instead of
* **place**: `String` *(`top-left` by default)* Set the position of the box. Currently: `content-left`, `top-left` and `top-right` are available.
* **counter**: `Boolean` *(`true` by default)* Set to `false` to hide counters that appear below the buttons.
+* **twitter_counter**: `Boolean` *(`false` by default)* Set to `true` to show twitter counter, but you also need to register to [Open Share Count](https://opensharecount.com/) since Twitter API does not provide counters without an API key.
* **buttons**: `Array` *(`["facebook", "twitter", "google-plus"]` by default)* Sets the social buttons for sharing. Available ones are `envelope`, `facebook`, `google-plus`, `linkedin`, `odnoklassniki`, `pinterest`, `reddit`, `stumbleupon`, `tumblr`, `twitter` and `vk`
* **title**: `String` *(`document.title` by default)* Sets the title for the share message.
* **url**: `String` *(`window.location.href` by default)* Sets the url for the share message.
@@ -66,6 +67,7 @@ To make the social share buttons appear next to the specific content, instead of
$("body").floatingSocialShare({
place: "top-left", // alternatively content-left, top-right
counter: true, // set to false for hiding the counters of buttons
+ twitter_counter: false, // Twitter API does not provide counters without API key, register to https://opensharecount.com/
buttons: ["envelope", "facebook", "google-plus", "linkedin", "odnoklassniki", "pinterest", "reddit", "stumbleupon", "tumblr", "twitter", "vk"], // all of the currently avalaible social buttons
title: document.title, // your title, default is current page's title
url: window.location.href, // your url, default is current page's url
diff --git a/bower.json b/bower.json
index 57995be..542a6b2 100644
--- a/bower.json
+++ b/bower.json
@@ -1,6 +1,6 @@
{
"name": "jquery-floating-social-share",
- "version": "1.2.0",
+ "version": "1.2.1",
"homepage": "http://github.com/ozdemirburak/jquery-floating-social-share",
"authors": [
"Burak Ozdemir "
@@ -30,7 +30,7 @@
],
"description": "social media share buttons with counters",
"dependencies": {
- "jquery": "~1.11.1",
- "font-awesome": "~4.4.0"
+ "jquery": ">=1.8",
+ "font-awesome": ">=4.0"
}
}
diff --git a/demo/content.html b/demo/content.html
index d1a40a8..8f3f4de 100644
--- a/demo/content.html
+++ b/demo/content.html
@@ -5,7 +5,7 @@
jQuery Floating Social Share
-
+
@@ -23,8 +23,8 @@
buttons: ["facebook", "twitter", "google-plus", "linkedin", "pinterest"],
text: "share with: ",
place: "content-left",
- url: "https://google.com"
+ url: "http://google.com"
});
-