>From what I can tell, you're trying to get all of XYZ's friends - then
see all of the friends of each of them.  Is that right?

My first question is "Why"?
Depending on what you are trying to do, there may be a better way to
achieve it.

If there really is no other way, you can apply for whitelisting at


On Jan 5, 6:02 am, viv <k57...@gmail.com> wrote:
> I am frequently hitting rate limit. i know it happens when you do
> more
> than 150 search API call in a hour
> int a[] =twitter.getFriendsIDs("xyz").getIDs();
> int b[][] = new int[a.length][]
> for(int i=0;i<a.length;i++)
> b[i] = twitter.getFriendsIDs(a[i]).getIDs();
>  now the problem is a.length = 148 , that xyz has 148 friends
> and when we go on to compute b[i], it exceeds 150 and face rate limit
> problem
> is there any way to encounter this rate limit problem, without
> increasing rate limit 20,000 by asking twitter

Reply via email to