Skip to content

Mastodon Statuses favorited_by API return invalid pagination #59

@sudhagar-mr-17051

Description

@sudhagar-mr-17051

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions