[twitter-dev] convert large number of usernames to userids

2011-03-28 Thread Riley
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

Re: [twitter-dev] convert large number of usernames to userids

2011-03-28 Thread Jim Barcelona
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

Re: [twitter-dev] convert large number of usernames to userids

2011-03-28 Thread Arnaud Meunier
Hey Riley, You should use users/lookup, with the screen_name parameter (up to 100 are allowed in a single request). Not sure to get what you mean by the OAuth of the users I am looking up? The only thing you need is to sign your request. Arnaud / @rno On Mon, Mar 28, 2011 at 1:14 PM, Riley