Skip to content

Instantly share code, notes, and snippets.

@hyonschu
Created May 24, 2013 00:34
Show Gist options
  • Save hyonschu/5640548 to your computer and use it in GitHub Desktop.
Save hyonschu/5640548 to your computer and use it in GitHub Desktop.
<script type="application/javascript">
$(document).ready( function() {
var search = $.ajax({
url:'http://search.twitter.com/search.json?q=dongs',
dataType: 'jsonp',
success: function(data) {
for (i=0;i<data.results.length;i++) {
$(".tweets").append("<li>"+data.results[i].from_user+": "+data.results[i].text+"</li>")
}
console.log(data);
}
})
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment