You can get around the twitter's search limit, by requesting their timelines, which goes up to 3200 of their tweets - you can get 200 tweets per API call.
I believe http://snapbird.org/ does this for "searching beyond Twitter history".
But if you try this on all of your friends, it soon becomes very, very slow. Eg if you have 100 people you follow, and they all have ~2000 tweets (or that's how deep you want to go), you'll have 1000 API requests. That's for one users' friends timeline.
Comments
You can get around the twitter's search limit, by requesting their timelines, which goes up to 3200 of their tweets - you can get 200 tweets per API call.
I believe http://snapbird.org/ does this for "searching beyond Twitter history".
But if you try this on all of your friends, it soon becomes very, very slow. Eg if you have 100 people you follow, and they all have ~2000 tweets (or that's how deep you want to go), you'll have 1000 API requests. That's for one users' friends timeline.
I'm doing something like that on my app. Even requesting 200 tweets per API call, it takes a while to index when you have lots of friends.