Skip to content

bluesky_cli limits (max 100) - counting members of a list #981

Answered by myConsciousness
kesma01 asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @kesma01!

If you use bluesky_cli to count all the members of a list, you should use both limit and cursor.

First, you can get a list of specific ACTOR listings as follows:

bsky lists --actor=shinyakato.dev

You can then use the URI in the uri field of the result of the above command to get the members of the list as follows:

bsky list --uri=at://did:plc:iijrtk7ocored6zuziwmqq3c/app.bsky.graph.list/3katlozdqmh2p

To specify limit and cursor in this case, you can do the following:

bsky list --uri=at://did:plc:iijrtk7ocored6zuziwmqq3c/app.bsky.graph.list/3katlozdqmh2p --limit=100 --cursor=1696324904535::bafyreiafaxy4lhmyyqsx4lxfespwdosm6fy36zqggycrd4z2wzs2ti2zo4

Let me know if you need a m…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@kesma01
Comment options

Answer selected by kesma01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants