How to find out which of your lists someone is a member of.

0 views
Skip to first unread message

tom

unread,
Nov 12, 2009, 9:13:43 AM11/12/09
to Twitter Development Talk
Hi All,

I'm looking for a way to get which of my lists (public and private) a
user is a member of - akin to the lists drop-down on a user's profile
on Twitter.com. Is this information available in an easier way than
calling GET list members id for each list (or, more specifically,
using less API calls)?

Thanks,

Tom

Nelu Lazar

unread,
Nov 12, 2009, 1:43:20 PM11/12/09
to Twitter Development Talk
You may use GET /:user/:list_id/members/:id as an option:
http://apiwiki.twitter.com/Twitter-REST-API-Method%3A-GET-list-members-id

- @NeluLazar

tom

unread,
Nov 13, 2009, 4:40:39 AM11/13/09
to Twitter Development Talk
Thanks Nelu - I was aware of this method, unfortunately, if a user
owns 6 lists, and we want to check which of those lists a user is a
member of, that would be 6 API calls. This will pretty quickly eat
into a user's 150.

When a list/members method which just returns all the ids of people in
a list is implemented, this will get a lot easier as you'll be able to
cache the list members, but until then can anybody else know of a
workaround?

Tom

On Nov 12, 6:43 pm, Nelu Lazar <cont...@nelulazar.com> wrote:
> You may use GET /:user/:list_id/members/:id as an option:http://apiwiki.twitter.com/Twitter-REST-API-Method%3A-GET-list-member...
Reply all
Reply to author
Forward
0 new messages