Comment

Comment by dpritchett

Yep, this page handled entirely client-side, with some analytics JS on top for good measure:

    setInterval(
      function() {
        $.getJSON(
          "https://graph.facebook.com/mittromney",
          function(results) {
            console.log("Mitt Romney Like Count: " + results.likes)})},
      5000)
Edit: Love the idea, glad the page is out there! Great conversation starter.
parent dpritchett 14 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton