I think my problem is a result of : Warning: The user ids in the Search API are different from those in the REST API (about the two APIs). This defect is being tracked by Issue 214. This means that the to_user_id and from_user_id field vary from the actualy user id on Twitter.com. Applications will have to perform a screen name-based lookup with the users/show method to get the correct user id if necessary.
I dont understand why search would use a different user id, if they have to, why not at least call it something else like search_user_id or something. Joel On Dec 27, 10:38 am, joelkeepup <[email protected]> wrote: > Hi, im trying to get follower ids using user id and when I do that I > get the 401 Unauthorized > > uri: /1/followers/ids.json?user_id={user_id} > Twitter::Unauthorized: (401): Unauthorized - This method requires > authentication. > > It works fine if I do screenname > uri: /1/followers/ids.json?screen_name={screen_name} > > If this is not possible, is there a way to get follower screen names > instead of follower_ids ? I would prefer not to have to burn extra api > calls switching between screen_name and user_id. > > thanks > Joel -- 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
