Ver Mensaje Individual
  #2 (permalink)  
Antiguo 29/03/2012, 01:32
heyruben
 
Fecha de Ingreso: enero-2004
Mensajes: 339
Antigüedad: 20 años, 3 meses
Puntos: 6
Respuesta: Busqueda en json con jquery

heyyy ya lo consegui les dejo el codigo!!!

Cita:
buscarTweets();
function buscarTweets(){
//buscamos los tweets
var searchTerm = 'KausAustralisVE';
var baseUrl = "http://search.twitter.com/search.json?q=";
var num_tweet=0;
$('#loading').fadeIn();
initProgress();
$("#tweets").empty();
$.getJSON(baseUrl + searchTerm + "&callback=?", function(data){
//enviamos peticion de busqueda
$.each(data.results, function(){

$("<div class='tweets_encontrados'></div>")
//.hide()
.append('<img src="'+ this.profile_image_url+'"/>')
.append('<div class="texto_tweet"><a href="http://twitter.com/'
+ this.from_user + '">'+ this.from_user
+ '</a>&nbsp;' + this.text + '</div>')
.appendTo('#tweets')
//.fadeIn();
num_tweet++;
upProgress(num_tweet);
});

});
};
__________________
Pazzz mundiaaaalllll