Create a gist now

Instantly share code, notes, and snippets.

Embed
Get the share counts from various APIs

Share Counts

I have always struggled with getting all the various share buttons from Facebook, Twitter, Google Plus, Pinterest, etc to align correctly and to not look like a tacky explosion of buttons. Seeing a number of sites rolling their own share buttons with counts, for example The Next Web I decided to look into the various APIs on how to simply return the share count.

If you want to roll up all of these into a single jQuery plugin check out Sharrre

Many of these API calls and methods are undocumented, so anticipate that they will change in the future. Also, if you are planning on rolling these out across a site I would recommend creating a simple endpoint that periodically caches results from all of the APIs so that you are not overloading the services will requests.

Twitter

GET URL:

http://cdn.api.twitter.com/1/urls/count.json?url=http://stylehatch.co

Returns:

{
	"count":528,
	"url":"http://stylehatch.co/"
}

Facebook

GET URL:

http://graph.facebook.com/?id=http://stylehatch.co

Returns:

{
   "id": "http://stylehatch.co",
   "shares": 61
}

Pinterest

GET URL:

http://api.pinterest.com/v1/urls/count.json?callback=&url=http://stylehatch.co

Result:

({"count": 0, "url": "http://stylehatch.co"})

LinkedIn

GET URL:

http://www.linkedin.com/countserv/count/share?url=http://stylehatch.co&format=json

Returns:

{
	"count":17,
	"fCnt":"17",
	"fCntPlusOne":"18",
	"url":"http:\/\/stylehatch.co"
}

Google Plus

POST URL:

https://clients6.google.com/rpc?key=YOUR_API_KEY

POST body:

[{
	"method":"pos.plusones.get",
	"id":"p",
	"params":{
		"nolog":true,
		"id":"http://stylehatch.co/",
		"source":"widget",
		"userId":"@viewer",
		"groupId":"@self"
		},
	"jsonrpc":"2.0",
	"key":"p",
	"apiVersion":"v1"
}]

Returns

[{
	"result": { 
		"kind": "pos#plusones", 
		"id": "http://stylehatch.co/", 
		"isSetByViewer": false, 
		"metadata": {
			"type": "URL", 
			"globalCounts": {
				"count": 3097.0
			}
		}
	} ,
	"id": "p"
}]

StumbledUpon

GET URL:

http://www.stumbleupon.com/services/1.01/badge.getinfo?url=http://stylehatch.co

Result:

{
	"result":{
		"url":"http:\/\/stylehatch.co\/",
		"in_index":true,
		"publicid":"1iOLcK",
		"views":39,
		"title":"Style Hatch - Hand Crafted Digital Goods",
		"thumbnail":"http:\/\/cdn.stumble-upon.com\/mthumb\/941\/72725941.jpg",
		"thumbnail_b":"http:\/\/cdn.stumble-upon.com\/bthumb\/941\/72725941.jpg",
		"submit_link":"http:\/\/www.stumbleupon.com\/submit\/?url=http:\/\/stylehatch.co\/",
		"badge_link":"http:\/\/www.stumbleupon.com\/badge\/?url=http:\/\/stylehatch.co\/",
		"info_link":"http:\/\/www.stumbleupon.com\/url\/stylehatch.co\/"
	},
	"timestamp":1336520555,
	"success":true
}
@scottcorgan

This comment has been minimized.

Show comment
Hide comment
@scottcorgan

scottcorgan May 9, 2012

Awesome stuff man!

But, at Sevenly, we've found a better way to count the real total shares on Facebook. It's much more complicated, but far more accurate.

Using FB Query for a specific URL only

https://graph.facebook.com/fql?q=SELECT%20like_count,%20total_count,%20share_count,%20click_count,%20comment_count%20FROM%20link_stat%20WHERE%20url%20=%20%22http://sevenly.org/FightForHer%22

At Sevenly, we use this url to get the current total shares for the unique URL for this week's campaign. This helps us include comments, shares, and likes in the count.

The Result

{
   "data": [
      {
         "like_count": 757,
         "total_count": 1587,
         "share_count": 680,
         "click_count": 0,
         "comment_count": 150
      }
   ]
}

Using the Graph API to get all domain mentions

https://graph.facebook.com/10150605670960507/insights/domain_stories/day&since=1325376000&until=1327881600&access_token=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXsince=1327881600&until=1330387200

It's complicated because you have to to go through each page of results and add them up. BUT, this is far more accurate, as it counts the total times your domain was not only shared from the page, but shared once it made it's way onto Facebook.

The Results

{
   "data": [
      {
         "id": "10150605670960507/insights/domain_stories/day",
         "name": "domain_stories",
         "period": "day",
         "values": [
            {
               "value": 142,
               "end_time": "2012-01-30T08:00:00+0000"
            },
            {
               "value": 355,
               "end_time": "2012-01-31T08:00:00+0000"
            },
            {
               "value": 237,
               "end_time": "2012-02-01T08:00:00+0000"
            },
            {
               "value": 159,
               "end_time": "2012-02-02T08:00:00+0000"
            },
            {
               "value": 193,
               "end_time": "2012-02-03T08:00:00+0000"
            },
            {
               "value": 137,
               "end_time": "2012-02-04T08:00:00+0000"
            },
            {
               "value": 114,
               "end_time": "2012-02-05T08:00:00+0000"
            },
            {
               "value": 73,
               "end_time": "2012-02-06T08:00:00+0000"
            },
            {
               "value": 813,
               "end_time": "2012-02-07T08:00:00+0000"
            },
            {
               "value": 463,
               "end_time": "2012-02-08T08:00:00+0000"
            },
            {
               "value": 376,
               "end_time": "2012-02-09T08:00:00+0000"
            },
            {
               "value": 260,
               "end_time": "2012-02-10T08:00:00+0000"
            },
            {
               "value": 192,
               "end_time": "2012-02-11T08:00:00+0000"
            },
            {
               "value": 287,
               "end_time": "2012-02-12T08:00:00+0000"
            },
            {
               "value": 234,
               "end_time": "2012-02-13T08:00:00+0000"
            },
            {
               "value": 356,
               "end_time": "2012-02-14T08:00:00+0000"
            },
            {
               "value": 155,
               "end_time": "2012-02-15T08:00:00+0000"
            },
            {
               "value": 133,
               "end_time": "2012-02-16T08:00:00+0000"
            },
            {
               "value": 96,
               "end_time": "2012-02-17T08:00:00+0000"
            },
            {
               "value": 132,
               "end_time": "2012-02-18T08:00:00+0000"
            },
            {
               "value": 80,
               "end_time": "2012-02-19T08:00:00+0000"
            },
            {
               "value": 123,
               "end_time": "2012-02-20T08:00:00+0000"
            },
            {
               "value": 723,
               "end_time": "2012-02-21T08:00:00+0000"
            },
            {
               "value": 442,
               "end_time": "2012-02-22T08:00:00+0000"
            },
            {
               "value": 288,
               "end_time": "2012-02-23T08:00:00+0000"
            },
            {
               "value": 286,
               "end_time": "2012-02-24T08:00:00+0000"
            },
            {
               "value": 349,
               "end_time": "2012-02-25T08:00:00+0000"
            },
            {
               "value": 158,
               "end_time": "2012-02-26T08:00:00+0000"
            },
            {
               "value": 110,
               "end_time": "2012-02-27T08:00:00+0000"
            }
         ],
         "title": "Daily Total Actions",
         "description": "Daily The number of times people posted a link to your site through an action on a social plugin or through a status message or Wall post. (Total Count)"
      }
   ],
   "paging": {
      "previous": "https://graph.facebook.com/10150605670960507/insights/domain_stories/day&since=1325376000&until=1327881600&access_token=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX?since=1325376000&until=1327881600",
      "next": "https://graph.facebook.com/10150605670960507/insights/domain_stories/day&since=1325376000&until=1327881600&access_token=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX?since=1330387200&until=1332892800"
   }
}

AND, It's an awesome daily breakdown. Perfect for analytics junkies!

Awesome stuff man!

But, at Sevenly, we've found a better way to count the real total shares on Facebook. It's much more complicated, but far more accurate.

Using FB Query for a specific URL only

https://graph.facebook.com/fql?q=SELECT%20like_count,%20total_count,%20share_count,%20click_count,%20comment_count%20FROM%20link_stat%20WHERE%20url%20=%20%22http://sevenly.org/FightForHer%22

At Sevenly, we use this url to get the current total shares for the unique URL for this week's campaign. This helps us include comments, shares, and likes in the count.

The Result

{
   "data": [
      {
         "like_count": 757,
         "total_count": 1587,
         "share_count": 680,
         "click_count": 0,
         "comment_count": 150
      }
   ]
}

Using the Graph API to get all domain mentions

https://graph.facebook.com/10150605670960507/insights/domain_stories/day&since=1325376000&until=1327881600&access_token=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXsince=1327881600&until=1330387200

It's complicated because you have to to go through each page of results and add them up. BUT, this is far more accurate, as it counts the total times your domain was not only shared from the page, but shared once it made it's way onto Facebook.

The Results

{
   "data": [
      {
         "id": "10150605670960507/insights/domain_stories/day",
         "name": "domain_stories",
         "period": "day",
         "values": [
            {
               "value": 142,
               "end_time": "2012-01-30T08:00:00+0000"
            },
            {
               "value": 355,
               "end_time": "2012-01-31T08:00:00+0000"
            },
            {
               "value": 237,
               "end_time": "2012-02-01T08:00:00+0000"
            },
            {
               "value": 159,
               "end_time": "2012-02-02T08:00:00+0000"
            },
            {
               "value": 193,
               "end_time": "2012-02-03T08:00:00+0000"
            },
            {
               "value": 137,
               "end_time": "2012-02-04T08:00:00+0000"
            },
            {
               "value": 114,
               "end_time": "2012-02-05T08:00:00+0000"
            },
            {
               "value": 73,
               "end_time": "2012-02-06T08:00:00+0000"
            },
            {
               "value": 813,
               "end_time": "2012-02-07T08:00:00+0000"
            },
            {
               "value": 463,
               "end_time": "2012-02-08T08:00:00+0000"
            },
            {
               "value": 376,
               "end_time": "2012-02-09T08:00:00+0000"
            },
            {
               "value": 260,
               "end_time": "2012-02-10T08:00:00+0000"
            },
            {
               "value": 192,
               "end_time": "2012-02-11T08:00:00+0000"
            },
            {
               "value": 287,
               "end_time": "2012-02-12T08:00:00+0000"
            },
            {
               "value": 234,
               "end_time": "2012-02-13T08:00:00+0000"
            },
            {
               "value": 356,
               "end_time": "2012-02-14T08:00:00+0000"
            },
            {
               "value": 155,
               "end_time": "2012-02-15T08:00:00+0000"
            },
            {
               "value": 133,
               "end_time": "2012-02-16T08:00:00+0000"
            },
            {
               "value": 96,
               "end_time": "2012-02-17T08:00:00+0000"
            },
            {
               "value": 132,
               "end_time": "2012-02-18T08:00:00+0000"
            },
            {
               "value": 80,
               "end_time": "2012-02-19T08:00:00+0000"
            },
            {
               "value": 123,
               "end_time": "2012-02-20T08:00:00+0000"
            },
            {
               "value": 723,
               "end_time": "2012-02-21T08:00:00+0000"
            },
            {
               "value": 442,
               "end_time": "2012-02-22T08:00:00+0000"
            },
            {
               "value": 288,
               "end_time": "2012-02-23T08:00:00+0000"
            },
            {
               "value": 286,
               "end_time": "2012-02-24T08:00:00+0000"
            },
            {
               "value": 349,
               "end_time": "2012-02-25T08:00:00+0000"
            },
            {
               "value": 158,
               "end_time": "2012-02-26T08:00:00+0000"
            },
            {
               "value": 110,
               "end_time": "2012-02-27T08:00:00+0000"
            }
         ],
         "title": "Daily Total Actions",
         "description": "Daily The number of times people posted a link to your site through an action on a social plugin or through a status message or Wall post. (Total Count)"
      }
   ],
   "paging": {
      "previous": "https://graph.facebook.com/10150605670960507/insights/domain_stories/day&since=1325376000&until=1327881600&access_token=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX?since=1325376000&until=1327881600",
      "next": "https://graph.facebook.com/10150605670960507/insights/domain_stories/day&since=1325376000&until=1327881600&access_token=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX?since=1330387200&until=1332892800"
   }
}

AND, It's an awesome daily breakdown. Perfect for analytics junkies!

@timparker

This comment has been minimized.

Show comment
Hide comment
@timparker

timparker Dec 21, 2012

Insanely useful - thanks!

Insanely useful - thanks!

@harshavardhana

This comment has been minimized.

Show comment
Hide comment
@harshavardhana

harshavardhana Jan 16, 2013

Amazing - thanks

Amazing - thanks

@wilbertsantos

This comment has been minimized.

Show comment
Hide comment
@wilbertsantos

wilbertsantos Jan 19, 2013

hello there, there's a new way to get the different social counts, check this link http://www.upgradedtutorials.info/php/get-the-delicious-stumble-and-linkedin-shares-count-using-php/. the code was so handy and useful, you can also use it as much as you want. Sparky!

hello there, there's a new way to get the different social counts, check this link http://www.upgradedtutorials.info/php/get-the-delicious-stumble-and-linkedin-shares-count-using-php/. the code was so handy and useful, you can also use it as much as you want. Sparky!

@cube3x

This comment has been minimized.

Show comment
Hide comment
@cube3x

cube3x Jan 20, 2013

Excellent collection. Here is a complete and evolving list of apis to fetch social counts with examples: http://cube3x.com/get-social-share-counts-a-complete-guide/

cube3x commented Jan 20, 2013

Excellent collection. Here is a complete and evolving list of apis to fetch social counts with examples: http://cube3x.com/get-social-share-counts-a-complete-guide/

@cube3x

This comment has been minimized.

Show comment
Hide comment
@cube3x

cube3x Jan 20, 2013

This is for wordpress users. Here is a well structured and responsive plugin to display social trends on your wordpress site: http://cube3x.com/all-in-one-social/

This plugin mainly uses these social apis to show the counts with a uniform design across the browsers.

cube3x commented Jan 20, 2013

This is for wordpress users. Here is a well structured and responsive plugin to display social trends on your wordpress site: http://cube3x.com/all-in-one-social/

This plugin mainly uses these social apis to show the counts with a uniform design across the browsers.

@evansims

This comment has been minimized.

Show comment
Hide comment
@evansims

evansims Feb 27, 2013

Awesome share, thank you. I've built a PHP wrapper around this and included support for a few additional services. It's available for your forking pleasure here.

Awesome share, thank you. I've built a PHP wrapper around this and included support for a few additional services. It's available for your forking pleasure here.

@gwing33

This comment has been minimized.

Show comment
Hide comment
@gwing33

gwing33 Mar 29, 2013

I'm guessing this twitter api is going to be effected by this: https://dev.twitter.com/blog/api-v1-retirement-final-dates

gwing33 commented Mar 29, 2013

I'm guessing this twitter api is going to be effected by this: https://dev.twitter.com/blog/api-v1-retirement-final-dates

@boomkap

This comment has been minimized.

Show comment
Hide comment
@boomkap

boomkap Apr 19, 2013

If I make a server side request from a Heroku Dyno, pinterest returns a 403 response. Anybody else have this issue?

boomkap commented Apr 19, 2013

If I make a server side request from a Heroku Dyno, pinterest returns a 403 response. Anybody else have this issue?

@boomkap

This comment has been minimized.

Show comment
Hide comment
@boomkap

boomkap Apr 20, 2013

Twitter ignores query strings. So for example, If I am looking for a share count for a youtube video .

http://m.youtube.com/watch?feature=relmfu&v=qZdo2_Y7Aiw

API Call

http://cdn.api.twitter.com/1/urls/count.json?url=http://m.youtube.com/watch?feature=relmfu&v=qZdo2_Y7Aiw

JSON Response

{"count":29623035,"url":"http:\/\/m.youtube.com\/watch\/"}

Makes perfect sense as anything after & unencoded will assume another parameter other than url.

So I encode the URL but even then it seems like it ignores some query params.

API Call

http://cdn.api.twitter.com/1/urls/count.json?url=http%3A%2F%2Fm.youtube.com%2Fwatch%3Ffeature%3Drelmfu%26v%3DqZdo2_Y7Aiw

JSON Response

{"count":1,"url":"http:\/\/m.youtube.com\/watch\/?v=qZdo2_Y7Aiw"}

The JSON response swallows the "feature=relmfu" parameter altogether. Facebook does not have this issue.

boomkap commented Apr 20, 2013

Twitter ignores query strings. So for example, If I am looking for a share count for a youtube video .

http://m.youtube.com/watch?feature=relmfu&v=qZdo2_Y7Aiw

API Call

http://cdn.api.twitter.com/1/urls/count.json?url=http://m.youtube.com/watch?feature=relmfu&v=qZdo2_Y7Aiw

JSON Response

{"count":29623035,"url":"http:\/\/m.youtube.com\/watch\/"}

Makes perfect sense as anything after & unencoded will assume another parameter other than url.

So I encode the URL but even then it seems like it ignores some query params.

API Call

http://cdn.api.twitter.com/1/urls/count.json?url=http%3A%2F%2Fm.youtube.com%2Fwatch%3Ffeature%3Drelmfu%26v%3DqZdo2_Y7Aiw

JSON Response

{"count":1,"url":"http:\/\/m.youtube.com\/watch\/?v=qZdo2_Y7Aiw"}

The JSON response swallows the "feature=relmfu" parameter altogether. Facebook does not have this issue.

@jerwarren

This comment has been minimized.

Show comment
Hide comment
@jerwarren

jerwarren Apr 26, 2013

Here's a method for getting Google+ counts without an api key:

https://plusone.google.com/_/+1/fastbutton?url=$URL_ENCODED_URL&count=true

it returns json. The following regex will get you the count: /c: ([0-9.]+) /

Here's a method for getting Google+ counts without an api key:

https://plusone.google.com/_/+1/fastbutton?url=$URL_ENCODED_URL&count=true

it returns json. The following regex will get you the count: /c: ([0-9.]+) /

@sashkomatviychuk

This comment has been minimized.

Show comment
Hide comment
@sashkomatviychuk

sashkomatviychuk May 7, 2013

where i can get API_KEY?

where i can get API_KEY?

@roneesh

This comment has been minimized.

Show comment
Hide comment
@roneesh

roneesh Oct 31, 2013

Hello, nyquildotorg mentioned that the https://plusone.google.com/.. url can return json, I'm trying to figure out how to make it return json but no such luck. Can someone go into a bit more detail on how to get that url to return json?

roneesh commented Oct 31, 2013

Hello, nyquildotorg mentioned that the https://plusone.google.com/.. url can return json, I'm trying to figure out how to make it return json but no such luck. Can someone go into a bit more detail on how to get that url to return json?

@texaswebguy

This comment has been minimized.

Show comment
Hide comment
@texaswebguy

texaswebguy Nov 15, 2013

Pinterest complains that the callback= is null on your example.

Pinterest complains that the callback= is null on your example.

@bkd27

This comment has been minimized.

Show comment
Hide comment
@bkd27

bkd27 Jan 2, 2014

The Facebook graph call can also work with multiple urls at once. Using the parameter “ids” instead of “id” allows a list of comma separated urls.

http://graph.facebook.com/?ids=[first url],[second url],[third urls]

The result looks returns an object with the url as the key.

http://graph.facebook.com/?ids=http://www.bharatdivya.com,http://www.bkd27.com,http://www.pluginscart.com,http://computersciencearticle.in,http://couponzocean.com

Response returned by Facebook graph api is:

{
"http://www.bharatdivya.com": {
"id": "http://www.bharatdivya.com",
"shares": 25
},
"http://www.bkd27.com": {
"id": "http://www.bkd27.com"
},
"http://www.pluginscart.com": {
"id": "http://www.pluginscart.com"
},
"http://computersciencearticle.in": {
"id": "http://computersciencearticle.in",
"shares": 12
},
"http://couponzocean.com": {
"id": "http://couponzocean.com"
}
}

bkd27 commented Jan 2, 2014

The Facebook graph call can also work with multiple urls at once. Using the parameter “ids” instead of “id” allows a list of comma separated urls.

http://graph.facebook.com/?ids=[first url],[second url],[third urls]

The result looks returns an object with the url as the key.

http://graph.facebook.com/?ids=http://www.bharatdivya.com,http://www.bkd27.com,http://www.pluginscart.com,http://computersciencearticle.in,http://couponzocean.com

Response returned by Facebook graph api is:

{
"http://www.bharatdivya.com": {
"id": "http://www.bharatdivya.com",
"shares": 25
},
"http://www.bkd27.com": {
"id": "http://www.bkd27.com"
},
"http://www.pluginscart.com": {
"id": "http://www.pluginscart.com"
},
"http://computersciencearticle.in": {
"id": "http://computersciencearticle.in",
"shares": 12
},
"http://couponzocean.com": {
"id": "http://couponzocean.com"
}
}

@TesfayKidane

This comment has been minimized.

Show comment
Hide comment
@TesfayKidane

TesfayKidane Jan 27, 2014

@texaswebguy , I changed callback= to callback" and it worked for me.
example : http://api.pinterest.com/v1/urls/count.json?callback%20&url=http://google.com

@texaswebguy , I changed callback= to callback" and it worked for me.
example : http://api.pinterest.com/v1/urls/count.json?callback%20&url=http://google.com

@the0ther

This comment has been minimized.

Show comment
Hide comment
@the0ther

the0ther Feb 19, 2014

this is so good. i thank you.

this is so good. i thank you.

@IsaiasNascimentoCaetano

This comment has been minimized.

Show comment
Hide comment
@IsaiasNascimentoCaetano

IsaiasNascimentoCaetano Mar 14, 2014

This is very good.

This is very good.

@dsposito

This comment has been minimized.

Show comment
Hide comment
@dsposito

dsposito Mar 27, 2014

Cheers to @evansims for his initial work. I recently forked and refactored his script to provide a nice OO PHP SocialWorth class. It allows you to easily query multiple URLs and set which networks you want to query.

Cheers to @evansims for his initial work. I recently forked and refactored his script to provide a nice OO PHP SocialWorth class. It allows you to easily query multiple URLs and set which networks you want to query.

@jivinivan

This comment has been minimized.

Show comment
Hide comment
@jivinivan

jivinivan Apr 2, 2014

Check out the following for Google+ count.

http://share.yandex.ru/gpp.xml?url=http://google.com

Check out the following for Google+ count.

http://share.yandex.ru/gpp.xml?url=http://google.com

@caryxiao

This comment has been minimized.

Show comment
Hide comment
@caryxiao

caryxiao Apr 10, 2014

good ~!

good ~!

@maxicecilia

This comment has been minimized.

Show comment
Hide comment
@maxicecilia

maxicecilia May 15, 2014

Another option to check g+:

https://plusone.google.com/_/+1/fastbutton?url=http://google.com

Not a JSON output, but works if you need a quick check.

Another option to check g+:

https://plusone.google.com/_/+1/fastbutton?url=http://google.com

Not a JSON output, but works if you need a quick check.

@hanzouti

This comment has been minimized.

Show comment
Hide comment
@hanzouti

hanzouti May 27, 2014

Any idea for disqus?

Any idea for disqus?

@cmwinters

This comment has been minimized.

Show comment
Hide comment
@cmwinters

cmwinters Aug 19, 2014

This has been really helpful.

Here's a solution for checking Google+ in Rails without an API key. It opens a fastbutton page and uses Nokogiri to parse it and return the share count.

https://gist.github.com/cmwinters/cc867a5be41707953d23

This has been really helpful.

Here's a solution for checking Google+ in Rails without an API key. It opens a fastbutton page and uses Nokogiri to parse it and return the share count.

https://gist.github.com/cmwinters/cc867a5be41707953d23

@aligajani

This comment has been minimized.

Show comment
Hide comment
@aligajani

aligajani Aug 23, 2014

Will Guzzle make this faster than using cURL?

Will Guzzle make this faster than using cURL?

@patrick-mcdougle

This comment has been minimized.

Show comment
Hide comment
@patrick-mcdougle

patrick-mcdougle Sep 29, 2014

@aligajani No, because Guzzle likely uses cURL.

@aligajani No, because Guzzle likely uses cURL.

@tatthien

This comment has been minimized.

Show comment
Hide comment
@tatthien

tatthien Oct 11, 2014

Really helpful, it save my day.

Really helpful, it save my day.

@0Neji

This comment has been minimized.

Show comment
Hide comment
@0Neji

0Neji Nov 4, 2014

This is great! I'm having a little trouble getting the Google+ count however.

A linked to article which has an API key put in already works fine but when I substitute that for my own API Key - I get a 0 share count return for the same URL.

I've enabled the Google+ API in my Developers Console, what else am I missing?

0Neji commented Nov 4, 2014

This is great! I'm having a little trouble getting the Google+ count however.

A linked to article which has an API key put in already works fine but when I substitute that for my own API Key - I get a 0 share count return for the same URL.

I've enabled the Google+ API in my Developers Console, what else am I missing?

@mcsheffrey

This comment has been minimized.

Show comment
Hide comment
@mcsheffrey

mcsheffrey Nov 5, 2014

@0Neji I think the G+ method is deprecated. This worked for me http://stackoverflow.com/a/21866500

@0Neji I think the G+ method is deprecated. This worked for me http://stackoverflow.com/a/21866500

@hyip

This comment has been minimized.

Show comment
Hide comment
@hyip

hyip Jan 17, 2015

Here is another solution. All counters including G+ works correctly. http://stackoverflow.com/a/28000630

hyip commented Jan 17, 2015

Here is another solution. All counters including G+ works correctly. http://stackoverflow.com/a/28000630

@deepeeess

This comment has been minimized.

Show comment
Hide comment
@deepeeess

deepeeess Mar 12, 2015

People like you make the Internet a better place.

People like you make the Internet a better place.

@Timrael

This comment has been minimized.

Show comment
Hide comment
@Timrael

Timrael Mar 17, 2015

Great guide. I made a ruby gem according this info:
https://github.com/Timrael/social_shares
I hope it will help you <3

Timrael commented Mar 17, 2015

Great guide. I made a ruby gem according this info:
https://github.com/Timrael/social_shares
I hope it will help you <3

@hsjoberg

This comment has been minimized.

Show comment
Hide comment
@hsjoberg

hsjoberg Mar 20, 2015

Any ideas for XING?

Any ideas for XING?

@dandv

This comment has been minimized.

Show comment
Hide comment
@dandv

dandv Mar 21, 2015

Hey @jonathanmoore, are you still around to update this?

  • The LinkedIn API doesn't work if called directly from the client; you need a JSONP callback.

  • Google Plus without authentication is possible:

    function GooglePlus(url) {
    // bypass same-origin restriction
      jQuery.getJSON('http://anyorigin.com/get?callback=?&url=' + encodeURIComponent('https://plusone.google.com/_/+1/fastbutton?url=http://' + url), function (data){
      alert(data.contents.match(/{c: (\d+)/)[1]);
    });
    }

dandv commented Mar 21, 2015

Hey @jonathanmoore, are you still around to update this?

  • The LinkedIn API doesn't work if called directly from the client; you need a JSONP callback.

  • Google Plus without authentication is possible:

    function GooglePlus(url) {
    // bypass same-origin restriction
      jQuery.getJSON('http://anyorigin.com/get?callback=?&url=' + encodeURIComponent('https://plusone.google.com/_/+1/fastbutton?url=http://' + url), function (data){
      alert(data.contents.match(/{c: (\d+)/)[1]);
    });
    }
@gemblue

This comment has been minimized.

Show comment
Hide comment
@gemblue

gemblue Apr 18, 2015

Thanks.. but i always get (#4) Application request limit reached on facebook graph api.

gemblue commented Apr 18, 2015

Thanks.. but i always get (#4) Application request limit reached on facebook graph api.

@noodlebreak

This comment has been minimized.

Show comment
Hide comment
@noodlebreak

noodlebreak Apr 22, 2015

Is there a way to just get the share count by not sending multiple requests with http or https and www in Twitter and Pinterest?

Because I've checked and confirmed, that Twitter and Pinterest indeed differentiate between http,https and www links.

So, for a link like this: abc.com/xyz/00,
I'd have to check for

http://abc.com/xyz/00

https://abc.com/xyz/00

http://www.abc.com/xyz/00

https://www.abc.com/xyz/00

Because users on my site could either access it as http or https and with or without www.

Is there a way to just get the share count by not sending multiple requests with http or https and www in Twitter and Pinterest?

Because I've checked and confirmed, that Twitter and Pinterest indeed differentiate between http,https and www links.

So, for a link like this: abc.com/xyz/00,
I'd have to check for

http://abc.com/xyz/00

https://abc.com/xyz/00

http://www.abc.com/xyz/00

https://www.abc.com/xyz/00

Because users on my site could either access it as http or https and with or without www.

@maruf-cefalo

This comment has been minimized.

Show comment
Hide comment
@maruf-cefalo

maruf-cefalo May 28, 2015

nice

nice

@cqcn1991

This comment has been minimized.

Show comment
Hide comment
@cqcn1991

cqcn1991 Jun 19, 2015

Very good, and thanks a lot. And I want to ask, is it possible to get the Pocket marked number?

Very good, and thanks a lot. And I want to ask, is it possible to get the Pocket marked number?

@rafaelcavalcante

This comment has been minimized.

Show comment
Hide comment
@rafaelcavalcante

rafaelcavalcante Jun 24, 2015

"NetworkError: 415 Unsupported Media Type". I can't even test lol

"NetworkError: 415 Unsupported Media Type". I can't even test lol

@Paki2013

This comment has been minimized.

Show comment
Hide comment
@Paki2013

Paki2013 Jun 27, 2015

Hi,
Any one can help me please....!!
i need a code for

Get details of users/visitors who share our URL on Facebook, Twitter.

i need a list of peoples who share our link on facebook and twitter.

Hi,
Any one can help me please....!!
i need a code for

Get details of users/visitors who share our URL on Facebook, Twitter.

i need a list of peoples who share our link on facebook and twitter.

@radugroza

This comment has been minimized.

Show comment
Hide comment
@radugroza

radugroza Jul 9, 2015

Cool stuff man!

Anyone figured out / found how to get share count from Xing ?

Cool stuff man!

Anyone figured out / found how to get share count from Xing ?

@onigetoc

This comment has been minimized.

Show comment
Hide comment
@onigetoc

onigetoc Jul 21, 2015

Maybe you want to get stars and watch for Github?
https://api.github.com/repos/twbs/bootstrap

Maybe you want to get stars and watch for Github?
https://api.github.com/repos/twbs/bootstrap

@kentbrew

This comment has been minimized.

Show comment
Hide comment
@kentbrew

kentbrew Aug 10, 2015

For faster results from Pinterest, please use widgets.pinterest.com and not api.pinterest.com. Like so:

http://widgets.pinterest.com/v1/urls/count.json?url=http%3A%2F%2Flaughingsquid.com

Encoding your URL parameter is a good habit to learn; if you need to send one with a question mark in it, unpredictable things may happen.

Callback is not a required parameter; if you omit, your reply will look like this:

receiveCount({"url":"http://laughingsquid.com","count":13})

As noted previously, URLs are not normalized for count.json. You'll get a much higher count from laughingsquid by appending a forward-slash to the URL, like so:

http://widgets.pinterest.com/v1/urls/count.json?url=http%3A%2F%2Flaughingsquid.com

For faster results from Pinterest, please use widgets.pinterest.com and not api.pinterest.com. Like so:

http://widgets.pinterest.com/v1/urls/count.json?url=http%3A%2F%2Flaughingsquid.com

Encoding your URL parameter is a good habit to learn; if you need to send one with a question mark in it, unpredictable things may happen.

Callback is not a required parameter; if you omit, your reply will look like this:

receiveCount({"url":"http://laughingsquid.com","count":13})

As noted previously, URLs are not normalized for count.json. You'll get a much higher count from laughingsquid by appending a forward-slash to the URL, like so:

http://widgets.pinterest.com/v1/urls/count.json?url=http%3A%2F%2Flaughingsquid.com

@Keberdle

This comment has been minimized.

Show comment
Hide comment
@Keberdle

Keberdle Aug 25, 2015

Google plus do not need KEY

Google plus do not need KEY

@steoo

This comment has been minimized.

Show comment
Hide comment
@steoo

steoo Sep 9, 2015

For those who cannot do AJAX request on Twitter, I posted a really raw solution on SO http://stackoverflow.com/a/32477318/1848833. Hope it can help.

steoo commented Sep 9, 2015

For those who cannot do AJAX request on Twitter, I posted a really raw solution on SO http://stackoverflow.com/a/32477318/1848833. Hope it can help.

@koddr

This comment has been minimized.

Show comment
Hide comment
@koddr

koddr Sep 24, 2015

Hello!

I try get share count from StumbleUpon on my site:

$.getJSON('http://www.stumbleupon.com/services/1.01/badge.getinfo?url=' + encodeURIComponent('http://mysite.com') + '&callback=?', function(response) {
  var getResult = 'result';
  for (var getResult in response) {
    if (response.hasOwnProperty(getResult)) {
      var count = response.getResult.views;
      break;
    }
  }
  console.log(count);
});

But Chrome console show me error message:

badge.getinfo?url=http%3A%2F%2Fmysite.com%2F&callback=jQuery11120638845409732312_14430823…:1 
Uncaught SyntaxError: Unexpected token :

Also I try this code:

$.getJSON('http://www.stumbleupon.com/services/1.01/badge.getinfo?url=' + encodeURIComponent('http://mysite.com') + '&callback=?', function(response) {
  console.log(response.result.views);
});

But this error still in console..

Any ideas? Help me please, if you can!

koddr commented Sep 24, 2015

Hello!

I try get share count from StumbleUpon on my site:

$.getJSON('http://www.stumbleupon.com/services/1.01/badge.getinfo?url=' + encodeURIComponent('http://mysite.com') + '&callback=?', function(response) {
  var getResult = 'result';
  for (var getResult in response) {
    if (response.hasOwnProperty(getResult)) {
      var count = response.getResult.views;
      break;
    }
  }
  console.log(count);
});

But Chrome console show me error message:

badge.getinfo?url=http%3A%2F%2Fmysite.com%2F&callback=jQuery11120638845409732312_14430823…:1 
Uncaught SyntaxError: Unexpected token :

Also I try this code:

$.getJSON('http://www.stumbleupon.com/services/1.01/badge.getinfo?url=' + encodeURIComponent('http://mysite.com') + '&callback=?', function(response) {
  console.log(response.result.views);
});

But this error still in console..

Any ideas? Help me please, if you can!

@techslides

This comment has been minimized.

Show comment
Hide comment
@techslides

techslides Sep 29, 2015

Good info

Good info

@nunompmoniz

This comment has been minimized.

Show comment
Hide comment
@nunompmoniz

nunompmoniz Sep 29, 2015

Awesome. Thanks!

Awesome. Thanks!

@vssranganadhp

This comment has been minimized.

Show comment
Hide comment
@vssranganadhp

vssranganadhp Sep 29, 2015

Very helpful, Thanks.

Very helpful, Thanks.

@koddr

This comment has been minimized.

Show comment
Hide comment
@lutsen

This comment has been minimized.

Show comment
Hide comment
@lutsen

lutsen Oct 3, 2015

On September 22nd, Twitter announced that, at some point within a month, they would discontinue the Tweet share count API endpoint. This means the endpoint http://cdn.api.twitter.com/1/urls/count.json?url=http://stylehatch.co will stop working.

See the official announcement here: https://twittercommunity.com/t/a-new-design-for-tweet-and-follow-buttons/52791

lutsen commented Oct 3, 2015

On September 22nd, Twitter announced that, at some point within a month, they would discontinue the Tweet share count API endpoint. This means the endpoint http://cdn.api.twitter.com/1/urls/count.json?url=http://stylehatch.co will stop working.

See the official announcement here: https://twittercommunity.com/t/a-new-design-for-tweet-and-follow-buttons/52791

@koddr

This comment has been minimized.

Show comment
Hide comment
@koddr

koddr Oct 4, 2015

@lutsen this docs will not work without anonym calls https://dev.twitter.com/rest/reference/get/search/tweets but what we do to get share count?

koddr commented Oct 4, 2015

@lutsen this docs will not work without anonym calls https://dev.twitter.com/rest/reference/get/search/tweets but what we do to get share count?

@younes0

This comment has been minimized.

Show comment
Hide comment
@younes0

younes0 Oct 7, 2015

@enjoyiacm have you found any solution?

younes0 commented Oct 7, 2015

@enjoyiacm have you found any solution?

@koddr

This comment has been minimized.

Show comment
Hide comment
@koddr

koddr Oct 7, 2015

@younes0 nope.. but still founding..

koddr commented Oct 7, 2015

@younes0 nope.. but still founding..

@lutsen

This comment has been minimized.

Show comment
Hide comment
@lutsen

lutsen Oct 12, 2015

@enjoyiacm At this point, there seems to be no anonymous solution. You have to use an API key.

lutsen commented Oct 12, 2015

@enjoyiacm At this point, there seems to be no anonymous solution. You have to use an API key.

@jonnymaceachern

This comment has been minimized.

Show comment
Hide comment
@jonnymaceachern

jonnymaceachern Oct 13, 2015

Is there any way to handle urls protocol agnostic?

Is there any way to handle urls protocol agnostic?

@tobylaforest

This comment has been minimized.

Show comment
Hide comment
@tobylaforest

tobylaforest Oct 23, 2015

Not as savvy as everyone else here, I am looking to pull share counts for URLs in excel. Is this possible?

Not as savvy as everyone else here, I am looking to pull share counts for URLs in excel. Is this possible?

@lumpysimon

This comment has been minimized.

Show comment
Hide comment
@lumpysimon

lumpysimon Nov 20, 2015

As per @lutsen's comment above, the Twitter Count API is scheduled to stop working after today (20th Nov 2015).

As per @lutsen's comment above, the Twitter Count API is scheduled to stop working after today (20th Nov 2015).

@koddr

This comment has been minimized.

Show comment
Hide comment
@koddr

koddr Nov 21, 2015

Yep. API 1.0 and share count not working.. RIP twitter share counters of all world..

koddr commented Nov 21, 2015

Yep. API 1.0 and share count not working.. RIP twitter share counters of all world..

@voku

This comment has been minimized.

Show comment
Hide comment
@voku

voku Nov 22, 2015

So there is no way to get the twitter share counter via API? Why? :/ If someone see a alternative or a workaround please reply, thanks!

voku commented Nov 22, 2015

So there is no way to get the twitter share counter via API? Why? :/ If someone see a alternative or a workaround please reply, thanks!

@Methos21

This comment has been minimized.

Show comment
Hide comment
@Methos21

Methos21 Nov 23, 2015

@voku it's not the best solution, but i did make an ajax request every time when user click on my custom tweet button and store in the database. Of couse, it's not 100% perfect, because user can close the window without share, but better then nothing. :)

@voku it's not the best solution, but i did make an ajax request every time when user click on my custom tweet button and store in the database. Of couse, it's not 100% perfect, because user can close the window without share, but better then nothing. :)

@brugeman

This comment has been minimized.

Show comment
Hide comment
@brugeman

brugeman Dec 9, 2015

@voku @enjoyiacm @Methos21 @lutsen Try http://newsharecounts.com to get Twitter share counts. You need to sign-up using your Twitter account, add the sites you wish to track (up to 1000), and then use http://public.newsharecounts.com/count.json?url= to get the counts.

brugeman commented Dec 9, 2015

@voku @enjoyiacm @Methos21 @lutsen Try http://newsharecounts.com to get Twitter share counts. You need to sign-up using your Twitter account, add the sites you wish to track (up to 1000), and then use http://public.newsharecounts.com/count.json?url= to get the counts.

@pagelab

This comment has been minimized.

Show comment
Hide comment
@pagelab

pagelab Dec 10, 2015

http://opensharecount.com/ it's another way to grab counts from Twitter.

pagelab commented Dec 10, 2015

http://opensharecount.com/ it's another way to grab counts from Twitter.

@mindtonic

This comment has been minimized.

Show comment
Hide comment
@mindtonic

mindtonic Jan 6, 2016

Here is another gem built for this purpose. It was constructed several years ago but has recently been updated to remove stale API endpoints and add new ones. https://github.com/mindtonic/virility

Here is another gem built for this purpose. It was constructed several years ago but has recently been updated to remove stale API endpoints and add new ones. https://github.com/mindtonic/virility

@fokosun

This comment has been minimized.

Show comment
Hide comment
@fokosun

fokosun Apr 18, 2016

+1 @kenbrew

fokosun commented Apr 18, 2016

+1 @kenbrew

@sukhjindersingh

This comment has been minimized.

Show comment
Hide comment
@sukhjindersingh

sukhjindersingh May 19, 2016

+1 @mindtonic, how can we use it in PHP?

+1 @mindtonic, how can we use it in PHP?

@DrLightman

This comment has been minimized.

Show comment
Hide comment
@DrLightman

DrLightman Aug 24, 2016

Twitter is broken.

Twitter is broken.

@zhangpan06

This comment has been minimized.

Show comment
Hide comment
@zhangpan06

zhangpan06 Aug 24, 2016

Cool3!!

Cool3!!

@timdmaxey

This comment has been minimized.

Show comment
Hide comment
@timdmaxey

timdmaxey Aug 26, 2016

Anyone know of a Facebook (fql) alternative? Point me in the right direction

Anyone know of a Facebook (fql) alternative? Point me in the right direction

@shavini

This comment has been minimized.

Show comment
Hide comment
@shavini

shavini Aug 28, 2016

the FB share counts and the subscriber count is not working anymore. does anyone know an alternative for it

shavini commented Aug 28, 2016

the FB share counts and the subscriber count is not working anymore. does anyone know an alternative for it

@Kaukov

This comment has been minimized.

Show comment
Hide comment
@Kaukov

Kaukov Aug 30, 2016

@timdmaxey & @shavini. When you get the data via the Graph API, for example http://graph.facebook.com/?id=http://google.com it returns an object.
To get the share count, you need to return $data->share->share_count;.

Kaukov commented Aug 30, 2016

@timdmaxey & @shavini. When you get the data via the Graph API, for example http://graph.facebook.com/?id=http://google.com it returns an object.
To get the share count, you need to return $data->share->share_count;.

@renielDev

This comment has been minimized.

Show comment
Hide comment
@renielDev

renielDev Sep 29, 2016

anyone here knows share count for the ff:

twitter
google
weibo
pinit
tublr
hatena

Thanks.

anyone here knows share count for the ff:

twitter
google
weibo
pinit
tublr
hatena

Thanks.

@sanomani

This comment has been minimized.

Show comment
Hide comment
@sanomani

sanomani Sep 30, 2016

Thanks OP for the effort. These are handful resource.
To reply some queries posed some some readers, twitter count is never complete nowadays. Twitter doesnt provide total share count, so even those third party share counters who claim to keep the record of tweets of their own also can only track partially (because they too need to scrape data using twitter incomplete api)

There is one social signal counter I found most complete is by shareyt.com called SocialCounter.
They show 30 different share counts and they are pretty accurate. Although they dont offer api support.
http://shareyt.com/SocialCounter.php
Here is the link if it helps.

Thanks OP for the effort. These are handful resource.
To reply some queries posed some some readers, twitter count is never complete nowadays. Twitter doesnt provide total share count, so even those third party share counters who claim to keep the record of tweets of their own also can only track partially (because they too need to scrape data using twitter incomplete api)

There is one social signal counter I found most complete is by shareyt.com called SocialCounter.
They show 30 different share counts and they are pretty accurate. Although they dont offer api support.
http://shareyt.com/SocialCounter.php
Here is the link if it helps.

@saydex

This comment has been minimized.

Show comment
Hide comment
@saydex

saydex Oct 27, 2016

The one for pinterest seem to have changed.

Previously:
http://api.pinterest.com/v1/urls/count.json?callback=&url=http://example.com

Now:
http://api.pinterest.com/v1/urls/count.json?callback=receiveCount&url=http://example.com

You now have to add the specific callback 'receiveCount' for it to work.

saydex commented Oct 27, 2016

The one for pinterest seem to have changed.

Previously:
http://api.pinterest.com/v1/urls/count.json?callback=&url=http://example.com

Now:
http://api.pinterest.com/v1/urls/count.json?callback=receiveCount&url=http://example.com

You now have to add the specific callback 'receiveCount' for it to work.

@paokodo

This comment has been minimized.

Show comment
Hide comment
@paokodo

paokodo Dec 22, 2016

Very helpful, Thanks.

paokodo commented Dec 22, 2016

Very helpful, Thanks.

@paokodo

This comment has been minimized.

Show comment
Hide comment
@paokodo

paokodo Dec 23, 2016

for facebook. i use

javascript

`var token = 'APP ID|APP SECRET';
url = 'url of your';

  $.ajax({
  url: 'https://graph.facebook.com/v2.7/',
  dataType: 'jsonp',
  type: 'GET',
  data: {access_token: token, id: url},
  success: function(data){
    console.log(data);
    $('body').append(data.share.share_count);
  },
  error: function(data){
    console.log(data); // send the error notifications to console
  }
  });`

It's wok!!
credit: rudrastyh

paokodo commented Dec 23, 2016

for facebook. i use

javascript

`var token = 'APP ID|APP SECRET';
url = 'url of your';

  $.ajax({
  url: 'https://graph.facebook.com/v2.7/',
  dataType: 'jsonp',
  type: 'GET',
  data: {access_token: token, id: url},
  success: function(data){
    console.log(data);
    $('body').append(data.share.share_count);
  },
  error: function(data){
    console.log(data); // send the error notifications to console
  }
  });`

It's wok!!
credit: rudrastyh

@ahmadalfy

This comment has been minimized.

Show comment
Hide comment
@ssovit

This comment has been minimized.

Show comment
Hide comment
@ssovit

ssovit Sep 18, 2017

@paokodo ya but you are exposing your APP ID and SECRET in the process.

ssovit commented Sep 18, 2017

@paokodo ya but you are exposing your APP ID and SECRET in the process.

@mydiyhobby

This comment has been minimized.

Show comment
Hide comment
@mydiyhobby

mydiyhobby Oct 22, 2017

hi guys me, im using this

https://graph.facebook.com/?id=http://google.com

Its working,

but how can i post it

in this way

public function getFacebookData($domain)
		{
			try
			{
				$callback_url = "https://graph.facebook.com/?";
				$data = array(
					'id'	=> "SELECT comment_count, like_count, share_count FROM link_stat WHERE url='http://.$domain'"
				);

				$curl_response = $this->curl->get($callback_url . http_build_query($data, '', '&'));

				if ($curl_response->headers['Status-Code'] == "200") {

					$parse_response = json_decode($curl_response, true);
					$fb_share_count = $parse_response['data'][0]['share_count'];
					$fb_like_count = $parse_response['data'][0]['like_count'];
					$fb_comment_count = $parse_response['data'][0]['comment_count'];

				} else {
					$fb_share_count = 0;
					$fb_like_count = 0;
					$fb_comment_count = 0;
				}

				$response = array(
					'status' => 'success',
					'data' => array(
						'fb_share_count' => filter_var($fb_share_count, FILTER_SANITIZE_NUMBER_INT),
						'fb_like_count' => filter_var($fb_like_count, FILTER_SANITIZE_NUMBER_INT),
						'fb_comment_count' => filter_var($fb_comment_count, FILTER_SANITIZE_NUMBER_INT)
					)
				);

			}
			catch (Exception $e)
			{
				$response = array(
					'status' => 'error',
					'msg' => $e->getMessage()
				);
			}
			return $response;
		}

Any suggestion

hi guys me, im using this

https://graph.facebook.com/?id=http://google.com

Its working,

but how can i post it

in this way

public function getFacebookData($domain)
		{
			try
			{
				$callback_url = "https://graph.facebook.com/?";
				$data = array(
					'id'	=> "SELECT comment_count, like_count, share_count FROM link_stat WHERE url='http://.$domain'"
				);

				$curl_response = $this->curl->get($callback_url . http_build_query($data, '', '&'));

				if ($curl_response->headers['Status-Code'] == "200") {

					$parse_response = json_decode($curl_response, true);
					$fb_share_count = $parse_response['data'][0]['share_count'];
					$fb_like_count = $parse_response['data'][0]['like_count'];
					$fb_comment_count = $parse_response['data'][0]['comment_count'];

				} else {
					$fb_share_count = 0;
					$fb_like_count = 0;
					$fb_comment_count = 0;
				}

				$response = array(
					'status' => 'success',
					'data' => array(
						'fb_share_count' => filter_var($fb_share_count, FILTER_SANITIZE_NUMBER_INT),
						'fb_like_count' => filter_var($fb_like_count, FILTER_SANITIZE_NUMBER_INT),
						'fb_comment_count' => filter_var($fb_comment_count, FILTER_SANITIZE_NUMBER_INT)
					)
				);

			}
			catch (Exception $e)
			{
				$response = array(
					'status' => 'error',
					'msg' => $e->getMessage()
				);
			}
			return $response;
		}

Any suggestion

@mydiyhobby

This comment has been minimized.

Show comment
Hide comment
@mydiyhobby

mydiyhobby Oct 22, 2017

the issue is if i dont put http://

they will be an error

the issue is if i dont put http://

they will be an error

@webserveis

This comment has been minimized.

Show comment
Hide comment

webserveis commented Dec 24, 2017

@frollo

This comment has been minimized.

Show comment
Hide comment
@frollo

frollo Jan 13, 2018

It seems that LinkedIn either has stopped working or has some issues. It keeps returning a count of 0, even for URLs which got a non-zero count until yesterday.

frollo commented Jan 13, 2018

It seems that LinkedIn either has stopped working or has some issues. It keeps returning a count of 0, even for URLs which got a non-zero count until yesterday.

@tom-weiss

This comment has been minimized.

Show comment
Hide comment
@tom-weiss

tom-weiss Jan 17, 2018

I’m seeing the same problem with LinkedIn but no feedback from them or anywhere else except this thread...

I’m seeing the same problem with LinkedIn but no feedback from them or anywhere else except this thread...

@mrskeety

This comment has been minimized.

Show comment
Hide comment
@mrskeety

mrskeety Feb 27, 2018

Claims here the Count call is shuttered following its removal from the inShare plugin:

https://stackoverflow.com/questions/48282250/linkedin-share-count-api-countserv-count-share-always-returns-0

Claims here the Count call is shuttered following its removal from the inShare plugin:

https://stackoverflow.com/questions/48282250/linkedin-share-count-api-countserv-count-share-always-returns-0

@kmb5vs

This comment has been minimized.

Show comment
Hide comment
@kmb5vs

kmb5vs Mar 8, 2018

Is this section complete?

kmb5vs commented Mar 8, 2018

Is this section complete?

@mbbhimani

This comment has been minimized.

Show comment
Hide comment
@mbbhimani

mbbhimani May 3, 2018

is there any api for whatsapp total count ??

is there any api for whatsapp total count ??

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment