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

Mastodon Statuses favorited_by API return invalid pagination #59

Open
sudhagar-mr-17051 opened this issue Jul 2, 2024 · 0 comments
Open

Comments

@sudhagar-mr-17051
Copy link

Hi Team,
While analysing, we found that if a post has exact same number of like as equal to the limit we set(Say, we set limit to 10), if the like count was exactly 10, then we are receiving next Link reference in header but there are no more likes while trying to fetch the next batch of likes.

example post:
https://mastodon.social/@Madhubala/112716340546862344

server: mastodon.social

API: https://mastodon.social/api/v1/statuses/112716340546862344/favourited_by?limit=10
response header:
Link:
https://mastodon.social/api/v1/statuses/112716340546862344/favourited_by?limit=10&max_id=167970690; rel="next", https://mastodon.social/api/v1/statuses/112716340546862344/favourited_by?limit=10&since_id=167973522; rel="prev"
but there is no next batch of likes.

Kindly check this issue and let us know if it is an known existing issue and what status it has been now?

Thanks and regards
Sudhagar M

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

No branches or pull requests

1 participant