Skip to content
This repository was archived by the owner on Aug 25, 2023. It is now read-only.

json: cannot unmarshal number into Go struct field Users.next_max_id of type string #325

@akselarzuman

Description

@akselarzuman

The code located in here is causing the below error while getting the users followers and following list by using the Next() method.

json: cannot unmarshal number into Go struct field Users.next_max_id of type string

Please see a part of the followers response below:

"big_list": false, "next_max_id": null, "page_size": 200, "status": "ok"

and a part of the following response below:

"big_list": true, "next_max_id": 50, "page_size": 200, "status": "ok"

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions