Skip to content

Instantly share code, notes, and snippets.

@40
Created September 24, 2012 04:42
Show Gist options
  • Select an option

  • Save 40/3774213 to your computer and use it in GitHub Desktop.

Select an option

Save 40/3774213 to your computer and use it in GitHub Desktop.
Getting Tumblr Post Count
<div class="counter">Unknown</div>​
$.getJSON("http://cascadescode.tumblr.com/api/read/json?callback=?", function(json) {
$('.counter').html(json["posts-total"]);
});​
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment