Created
June 29, 2011 08:15
-
-
Save irae/1053405 to your computer and use it in GitHub Desktop.
Minimal Twitter json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var client = new XMLHttpRequest(); | |
var doThings = function(data){ | |
console.dir(JSON.parse(data)); | |
}; | |
client.onreadystatechange = function(){ | |
if (this.readyState == 4) { | |
doThings(this.responseText); | |
} | |
}; | |
client.open("GET", "http://search.twitter.com/search.json?q=from:tw2113"); | |
client.send(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment