Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for fetching lists #133

Merged
merged 2 commits into from
Jun 28, 2024
Merged

Support for fetching lists #133

merged 2 commits into from
Jun 28, 2024

Conversation

nanos
Copy link
Owner

@nanos nanos commented Jun 28, 2024

This PR exposes three new settings (all optional) to allow backfilling and fetching replies to posts in lists:

Option Notes
from-lists Set to 1 to fetch missing replies and/or backfill account from your lists. This is disabled by default. Requires an access token with read:lists scope.
max-list-length Determines how many posts we'll fetch replies for in each list. Default value: 100. This will be ignored, unless you also provide from-lists = 1. Set to 0 if you only want to backfill profiles in lists.
max-list-accounts Determines how many accounts we'll backfill for in each list. Default value: 10. This will be ignored, unless you also provide from-lists = 1. Set to 0 if you only want to fetch replies in lists.

In order to make use of this, you'll need to add the read:lists scope to your access token (and re-generate the token)

Addresses #53

@nanos nanos merged commit 5e6aa2b into main Jun 28, 2024
@nanos nanos deleted the lists branch June 28, 2024 07:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant