You should either page through statuses/friends until you get an empty response set or use statuses/show to get the number of friends expected and intelligently page to the end of the list.
Thanks, Doug On Mon, Jul 6, 2009 at 1:39 AM, Dmitriy Vyukov <dvyu...@gmail.com> wrote: > > Hi! > > It's unclear how I must determine how many pages retrieve via statuses/ > friends. > First guess was to fetch until I will retrieve page with 0 friends. > However documentation says that there can be arbitrary number of > friends per page because of the "filtered out" friends. So I guess I > can receive page with 0 friends just because there are all filtered > out. Or you will handle such case internally and never send me a page > with 0 friends? What is the "official" way? > > Also my bet that pages start at 1, but I think it's worth adding into > docs. > > Thank you. > -- > Dmitriy V'jukov >