I am developing a Twitter based app running on Google's App Engine -
http://twittemmender.appspot.com (it is up but not working properly
right now)

The main idea is to recommend you tweeps that are close to you based
on your latest tweets (and some machine learning on your tweets). For
this I need to get a list of all my friends (easy and fast enough to
do right now), and then for each of those friends get a list of all
their friends (this is where it starts getting slow because this could
add up to about 10,000 friends). Then for each of those second degree
friends I would like to retrieve their latest tweets (20 tweets for
example).

This means I would have to make ~ 10,000 requests. I am currently
using the python twitter library, which works fine for a few requests
(ex: just getting my latest tweets, or getting a list of my friends),
but as soon as I request the friends of friends (second degree
friends), things start getting slow.

My question is, is there a good way of doing this? Maybe some batch
requests or something similar?

Thank you, Twitter API folks! Your help is appreciated!

Reply via email to