File tree Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -134,6 +134,7 @@ Changelog
134
134
135
135
- 2.8 Bugfixes
136
136
Slavic language support thanks to Tomasz Jadowski
137
+ Removed the now defunct Twitter JSON API share count
137
138
- 2.7 Store post date on a comment in the html file (#96 ).
138
139
On rebuild, the post date will be synchronised between comment date and file date, with precedence for comment date.
139
140
- 2.6 Support for multiple authors, use a different ` .config ` for each one
Original file line number Diff line number Diff line change @@ -352,9 +352,6 @@ twitter() {
352
352
353
353
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> "
354
354
echo " < a href=' $search_engine""$1' ><span id=' count-$id' ></span></a>& nbsp; < /p> "
355
- # Get current tweet count
356
- echo " < script type=\" text/javascript\" > \$ .ajax({type: \" GET\" , url: \" https://cdn.api.twitter.com/1/urls/count.json? url=$1 \" ,
357
- dataType: \" jsonp\" , success: function(data){ \$ (\" # count-$id\").html(\"(\" + data.count + \")\"); }}); </script>"
358
355
return;
359
356
else
360
357
echo " < p id=' twitter' > $template_comments & nbsp; " ;
You can’t perform that action at this time.
0 commit comments