[twitter-dev] DMs and followers list

2010-08-04 Thread Mark Krieger
I am working on a twitter application, I want followers to be kept in
a dropdown in my application like twitter does when I send a DM from
twitter. However, since I have less than 50 followers now (alas), I do
not know the twitter behavior when someone has (let's say) 5000 or
1 or even 10 followers. Surely you do not put a gigantic list
into that dropdown. But since I cannot test that situation, can
someone tell me what twitter itself does? I'd like to more or less do
the same as twitter in this case.

thanks,

Mark


Re: [twitter-dev] DMs and followers list

2010-08-04 Thread Marcelo Calbucci
Mark, you should implement similarly to what Google Auto-suggest does... As
users start typing they send AJAX calls back to the servers that return the
top 10 matches. As long as your server responds quickly, users are not going
to notice because the total latency might be 100 or 200ms, which would
enough to keep users happy.

-Marcelo

On Wed, Aug 4, 2010 at 6:32 AM, Mark Krieger markskrie...@gmail.com wrote:

 I am working on a twitter application, I want followers to be kept in
 a dropdown in my application like twitter does when I send a DM from
 twitter. However, since I have less than 50 followers now (alas), I do
 not know the twitter behavior when someone has (let's say) 5000 or
 1 or even 10 followers. Surely you do not put a gigantic list
 into that dropdown. But since I cannot test that situation, can
 someone tell me what twitter itself does? I'd like to more or less do
 the same as twitter in this case.

 thanks,

 Mark




-- 
-Marcelo

Twitter: @calbucci http://twitter.com/calbucci | blog.calbucci.com | Seattle
2.0 http://www.seattle20.com/