diff options
author | Carlos Fenollosa <carlos.fenollosa@gmail.com> | 2016-10-24 15:59:28 +0200 |
---|---|---|
committer | Carlos Fenollosa <carlos.fenollosa@gmail.com> | 2016-10-24 15:59:28 +0200 |
commit | 3c73ef63cd68b32f594fcd31a098e7c47b81dd01 (patch) | |
tree | ee70e6caf266f5085f2305eee8485100b0046f98 /bb.sh | |
parent | b5a459022d4c592b137be728df03b827655a49dc (diff) |
Deleted the now defunct Twitter JSON API for share count. Fix #117
Diffstat (limited to 'bb.sh')
-rwxr-xr-x | bb.sh | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -352,9 +352,6 @@ twitter() { echo "<p id='twitter'><a href='http://twitter.com/intent/tweet?url=$1&text=$template_twitter_comment&via=$global_twitter_username'>$template_comments $template_twitter_button</a> " echo "<a href='$search_engine""$1'><span id='count-$id'></span></a> </p>" - # Get current tweet count - echo "<script type=\"text/javascript\">\$.ajax({type: \"GET\", url: \"https://cdn.api.twitter.com/1/urls/count.json?url=$1\", - dataType: \"jsonp\", success: function(data){ \$(\"#count-$id\").html(\"(\" + data.count + \")\"); }}); </script>" return; else echo "<p id='twitter'>$template_comments "; |