return more than 20 items from search

6 views
Skip to first unread message

best

unread,
Nov 18, 2009, 8:49:04 PM11/18/09
to Brightkite API
Hi,

It seems like that the search api will return a maximum of 20 results?
Is there a way of:

- expand the size of the result set
- make subsequent query to get more results

??

Thanks!!
best

webguyatwork

unread,
Nov 21, 2009, 10:20:22 PM11/21/09
to Brightkite API
I asked a similar question to some Wave users, and got back this
response, which solved my issue for pulling all friends in a single
shot:

... limit and offset are enabled on the /me/friends so an
example call would be

http://brightkite.com/me/friends.xml?offset=0&limit=5600

What you could do it get http://brightkite.com/me.xml
find out how many friends the user has then pass that as the limit

Hope that helps!
Reply all
Reply to author
Forward
0 new messages