You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Your script Returns only the "total_count". Could the script be changed to return at least for Facebook all the important additional parameters like shares separated from likes and comments like so:
The hosted API on https://count.donreach.com/ has long been replaced with a new app written in go (this repo is pretty much unmaintained). We're about to launch a new version so I might be able to squeeze this in as an extra option in the next version (by adding something like &detailed=true to the URL). Will update you when it's released.
This is a great Library, For facebook it uses the Total Number of Shares, Likes, and Comments which is good for some things.....
For my purposes however I need the total count AND the numbers separated. For example if I send the URL:
http://nba.com/warriors/gameday/20160522/recap
To your Script at: https://count.donreach.com/?url=http://nba.com/warriors/gameday/20160522/recap
it Returns:
{
"url": "http://nba.com/warriors/gameday/20160522/recap",
"total": 16797,
"shares": {
"facebook": 16797,
"google": 0,
"linkedin": 0,
"pinterest": 0
}
}
If we send it Directly to the Facebook API Graph at: https://api.facebook.com/method/links.getStats?format=json&urls=http://nba.com/warriors/gameday/20160522/recap
we get:
[{"url":"http:\/\/nba.com\/warriors\/gameday\/20160522\/recap","normalized_url":"http:\/\/www.nba.com\/warriors\/gameday\/20160522\/recap","share_count":117,"like_count":15815,"comment_count":865,"total_count":16797,"click_count":0,"comments_fbid":"991016050996638","commentsbox_count":11}]
Your script Returns only the "total_count". Could the script be changed to return at least for Facebook all the important additional parameters like shares separated from likes and comments like so:
{
"url": "http://nba.com/warriors/gameday/20160522/recap",
"total": 16797,
"shares": {
"facebook": {
"total_count":16797,
"commentsbox_count":11,
"click_count":0,
"comment_count":865,
"like_count":15815,
"share_count":117
},
"google": 0,
"linkedin": 0,
"pinterest": 0
}
}
What changes would be needed to do this?
The text was updated successfully, but these errors were encountered: