If you want to retrieve all of a user's followers, you first get their ids by cursoring through http://api.twitter.com/1/followers/ids.json?cursor=-1[1] -- after retrieving that data, you'll want to expand them for user ids into "hydrated" user objects. To do this, pass 50 to 80 (maximum 100, but I recommend lower maximums for best performance) of the ids at a time to the bulk users lookup [2] API method. For some users this may take only two API requests: one for the followers' ids, and another for the users/lookup.
[1] http://dev.twitter.com/doc/get/followers/ids [2] http://dev.twitter.com/doc/get/users/lookup @episod <http://twitter.com/intent/user?screen_name=episod> - Taylor Singletary On Wed, Jun 15, 2011 at 4:34 AM, Amit Battan Ror <[email protected]> wrote: > one more issue /... as I want to get the list of my all follower > But I seen in some discussion as this API not return all the friends. > It only return the recently updated friends with there status. > Is it? > and what is the API which I want? > > > > On Jun 14, 5:04 pm, Bill Jacobson <[email protected]> wrote: > > Amit, > > > > Your endpoint is obsolete and no longer supported by Twitter. That's why > > you got the 403. Statuses/followers will succeed if you change it > tohttp://api.twitter.com/1/statuses/followers.xml > > <https://api.twitter.com/1/statuses/followers.xml> > > > > BUT this API is deprecated. Read all about it here: > http://dev.twitter.com/doc/get/statuses/followers > > > > Bill > > > > On 06/14/2011 12:38 AM, Amit Battan Ror wrote: > > > > > > > > > > > > > > > > > Bill > > > > > Working fine :https://twitter.com/statuses/friends_timeline.xml > > > > > Not Working Giving 403 Error : > https://twitter.com/statuses/followers.xml > > > > > On Jun 14, 10:14 am, Amit Battan Ror<[email protected]> wrote: > > >> Thanks Bill > > > > >> I will check and try to track URL .. > > > > >> On Jun 13, 9:07 pm, Bill Jacobson<[email protected]> wrote: > > > > >>> Amit, also seehttp:// > www.mailinglistarchive.com/html/twitter-development-talk@googl.... > > >>> That's what helped me. > > >>> -Bill > > >>> On 06/13/2011 10:44 AM, Bill Jacobson wrote: > > >>>> I'm suggesting that you find out what endpoint (Twitter URL) your > app > > >>>> is targeting, and make sure that it matches what is currently > > >>>> documented. If it doesn't match, correct it. That's what worked for > me. > > >>>> On 06/13/2011 08:05 AM, Amit Battan Ror wrote: > > >>>>> I am not getting the solution. > > >>>>> and my API was working fine beofre 2 3 days.. > > >>>>> but not now.. > > >>>>> all other API except getFollowersIncludingCurrentStatus working ok > and > > >>>>> return proper output > > >>>>> On Jun 13, 5:53 pm, Bill Jacobson<[email protected]> wrote: > > >>>>>> Amit, > > >>>>>> I don't know your library, but in my case the 403 was accompanied > by > > >>>>>> the > > >>>>>> message "Not authorized to use this endpoint" and the solution was > to > > >>>>>> update to "http://api.twitter.com/1[etc.]". > > >>>>>> Bill Jacobson > > >>>>>> On 06/13/2011 05:39 AM, Amit Battan Ror wrote: > > >>>>>>> any idea guys > > >>>>>>> On Jun 10, 4:33 pm, Amit Battan Ror<[email protected]> > wrote: > > >>>>>>>> Hi All > > >>>>>>>> I am using > > >>>>>>>> Twitter-OAuth-iPhonehttps:// > github.com/bengottlieb/Twitter-OAuth-iPhone > > >>>>>>>> I am calling [twitterObj getFollowersIncludingCurrentStatus:NO] > for > > >>>>>>>> getting my friend list which was working fine. But from last two > days > > >>>>>>>> its giving me the 403 error. > > >>>>>>>> -- Twitter Request FD751461-39C4-4EAB-A0F7-D1ED262B19EA failed > with > > >>>>>>>> error: Error Domain=HTTP Code=403 "The operation couldn t be > > >>>>>>>> completed. (HTTP error 403.)" > > >>>>>>>> As twitter api wiki 403 is due to crossing the limit of updates > > >>>>>>>> and DM > > >>>>>>>> but here in getFollowersIncludingCurrentStatus Why this error > > >>>>>>>> occurring and even list is not comes next day giving same 403 > error. > > >>>>>>>> Thanks > > >>>>>>>> Amit Battan > > -- > Twitter developer documentation and resources: https://dev.twitter.com/doc > API updates via Twitter: https://twitter.com/twitterapi > Issues/Enhancements Tracker: > https://code.google.com/p/twitter-api/issues/list > Change your membership to this group: > https://groups.google.com/forum/#!forum/twitter-development-talk > -- Twitter developer documentation and resources: https://dev.twitter.com/doc API updates via Twitter: https://twitter.com/twitterapi Issues/Enhancements Tracker: https://code.google.com/p/twitter-api/issues/list Change your membership to this group: https://groups.google.com/forum/#!forum/twitter-development-talk
