Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/webcyou/social-share-count-js

Get the social share counts from JavaScript Library
https://github.com/webcyou/social-share-count-js

facebook hatena-bookmark javascript-library linkedin pinterest pocket social social-share-counts twitter

Last synced: about 1 month ago
JSON representation

Get the social share counts from JavaScript Library

Awesome Lists containing this project

README

        

# Social Share Count js
Get the social share counts from JavaScript Library

## Demo Page
[Demo](https://webcyou.github.io/social-share-count-js/)

## Table of contents

* [Quick start](#quick-start)
* [What's included](#What's-included)
* [Usage](#Usage)
* [API](#api)
* [Option](#Option)
* [Develop](#Develop)
* [Copyright and license](#copyright-and-license)

## Quick start

**Clone the repo:**
```
git clone [email protected]:webcyou/social-share-count-js.git
```

**Install with [Bower](http://bower.io):**
```
bower install social-share-count-js
```

**Install with [npm](https://www.npmjs.com):**
```
npm install social-share-count-js
```
### What's included

```
dist/
├── social-share-count.js
└── social-share-count.min.js
```

### Usage

```html

```

Example

```html


```

## API
In order to avoid cross domain constraint, JSONP communication is carried out.

**Use API EndPoint**

**Facebook**
```
https://graph.facebook.com/
```

**Twitter**
```
https://jsoon.digitiminimi.com/twitter/count.json
```
Use [count.jsoon](https://jsoon.digitiminimi.com/)service.

Registration of count.jsoon service is mandatory.

**Pocket**

```
https://query.yahooapis.com/v1/public/yql
```
Use yahooapis service.

**Pinterest**

```
http://api.pinterest.com/v1/urls/count.json
```

**Hatena BookMark**
```
http://api.b.st-hatena.com/entry.count
```

### DOM Binding Type

**Facebook**

```html


```

**Twitter**

```html


```

**Pocket**

```html


```

**Pinterest**

```html


```

**Hatena BookMark**

```html


```

## Develop

```
npm run start
```
Browser starts using browser-sync.

Open http://localhost:3000 in your browser.

## Option

## Copyright and license

#### License: MIT
#### Daisuke Takayama

## Creators

**Daisuke Takayama**
* [@webcyou](https://twitter.com/webcyou)
* [@panicdragon](https://twitter.com/panicdragon)
*
*
*