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

Increase response size beyond the limit of 40 #1

Closed
declanbyrd opened this issue Feb 25, 2023 · 2 comments · Fixed by #6
Closed

Increase response size beyond the limit of 40 #1

declanbyrd opened this issue Feb 25, 2023 · 2 comments · Fixed by #6
Labels
enhancement New feature or request

Comments

@declanbyrd
Copy link
Owner

Anyone that tries to use the plugin but has more than 40 posts (excluding replies and reblogs) will have an incomplete archive.

This is due to the limit query parameter that defaults to 20 posts returned, but has a maximum of 40.
https://docs.joinmastodon.org/methods/accounts/#query-parameters

Ideally there should be a way of fetching all the posts once possibly through a flag, that can then be removed on subsequent builds.

@declanbyrd declanbyrd added the enhancement New feature or request label Feb 25, 2023
@declanbyrd
Copy link
Owner Author

Maybe compare the RSS feed length to the length of the API response?

@declanbyrd
Copy link
Owner Author

Maybe compare the RSS feed length to the length of the API response?

Looked into this, the RSS feed only returns the last 20 posts so won't give the full list of statuses.

Could always keep calling the API with a max_id until there are either no statuses or less than 40 statuses in the response.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant