The solution for this would involve coding if it were me.

Store the usernames in an array.
Loop through the array while calling:
http://api.twitter.com/1/users/show.json?screen_name=<screen_name>
Parse out the id.

Cheers, Barce

On Mon, Mar 28, 2011 at 1:14 PM, Riley <digitalsimplif...@gmail.com> wrote:

> How would I go about converting a large number of usernames (300+) to
> userids? My plan is to use user/follow, which uses userids. I have
> tried using users/lookup (http://dev.twitter.com/doc/get/users/
> lookup), but I need the OAuth of the users I am looking up, which I
> don't have.  I could use user/show but that would take a long time, I
> am hoping to find something more efficient.  Thank you.
>
> --
> Twitter developer documentation and resources: http://dev.twitter.com/doc
> API updates via Twitter: http://twitter.com/twitterapi
> Issues/Enhancements Tracker:
> http://code.google.com/p/twitter-api/issues/list
> Change your membership to this group:
> http://groups.google.com/group/twitter-development-talk
>



-- 
Jim "Barce" Barcelona

ba...@appdevandmarketing.com

http://appdevandmarketing.com/

http://twitter.com/barce

-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk

Reply via email to