Changeset 78
Author: frojo56
(2009/03/02 15:40) Almost 3 years ago
Getting Nested Tweets and my script to play nice. I think it works now, but new nested tweets do not have Twitter Fantastico buttons on them... Yet?
Author: frojo56
(2009/03/02 15:40) Almost 3 years ago
Getting Nested Tweets and my script to play nice. I think it works now, but new nested tweets do not have Twitter Fantastico buttons on them... Yet?
{{log("Loading json page data via jquery");log("Loading json page data via jquery from "+friends_timeline_url);j.ajax({j.ajax({data: {page:pageNumber},data: {page:pageNumber},beforeSend:function(xmlhr){//xmlhr.setRequestHeader("Cookie",getCookieSession());},success:function(data){success:function(data){{{log('Successfully loaded ' + data.length + ' tweets.' )log('Successfully loaded ' + data.length + ' tweets.' )//modify_tweets(tweets_on_page,appendTweets);error:function(xmlhttp,errortype,errorobj){error:function(xmlhttp,errortype,errorobj){log('Successfully loaded ' + newTweets.length + ' tweets.' );log('Successfully loaded ' + newTweets.length + ' tweets.' );//modify_tweets(tweets_on_page,appendTweets);//loaded_tweets[pageNumber-1] = data;log("Loaded "+loaded_tweets[pageNumber-1].length+" tweet(s)");log("Loaded "+loaded_tweets[pageNumber-1].length+" tweet(s)");log('Successfully loaded ' + data.length + ' tweets.' )log('Successfully loaded ' + data.length + ' tweets.' )//modify_tweets(tweets_on_page,appendTweets);error:function(xmlhttp,errortype,errorobj){error:function(xmlhttp,errortype,errorobj){{{//oldEntryContent = j("#timeline #status_"+tweets[i].id+" .status-body .entry-content").html();oldEntryContent = jq_tweet.find(".status-body .entry-content").html();oldEntryContent = jq_tweet.find(".status-body .entry-content").html();//j("#timeline #status_"+tweets[i].id+" .status-body .entry-content").html(newEntryContent);jq_tweet.find(".status-body .entry-content").html(newEntryContent);jq_tweet.find(".status-body .entry-content").html(newEntryContent);//log("Done modifying tweets.");//log("Done modifying tweets.");function modify_nested_twitter_replies(){j("#reply_*").css("background-color","#f00");}{{