[jQuery] Re: Combining results of two getJSON calls

2009-03-08 Thread Dr. Drang
}); // getJSON replies }); // getJSON friends Once I got that straightened out, I realized I have to use $.merge instead of $.extend because the Twitter object is an array, and $.extend just replaces the items with the same index. Now it's on to sorting. -- Dr. Drang

[jQuery] Combining results of two getJSON calls

2009-03-07 Thread Dr. Drang
I'm working on a Twitter webapp, and I want to display both the friends_timeline and replies streams, mixed together in chronological (or reverse chronological) order. (FYI: the replies stream collects tweets from people you *don't* follow as well as people you do. That's why I want both.) I can