Skip to content

list_members() not returning all members #1188

Answered by Harmon758
MoHayat asked this question in Questions
Discussion options

You must be logged in to vote

I'm unable to reproduce this.
Are you sure you're not only getting the first page? Have you tried specifying the count parameter?
The default is 20, so that's how many you would get from the first page without specifying it.
The alternative is to retrieve each page of results, e.g. via a Cursor.
Also note, "Private list members will only be shown if the authenticated user owns the specified list."
See https://developer.twitter.com/en/docs/accounts-and-users/create-manage-lists/api-reference/get-lists-members

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by Harmon758
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Question This is a question Invalid This is not valid API This is regarding Twitter's API Discussion This was converted/moved from/to a discussion
2 participants
Converted from issue

This discussion was converted from issue #1188 on December 19, 2020 09:42.