Skip to content

When retrieving a user's following list, an error occurs with the cursor when the count reaches approximately 2300. #34

@0xfocu5

Description

@0xfocu5

Here is test code。
when the count reaches approximately 2300, The cursor will repeatedly fetch data from the beginning of the list.

cursor := ""
userId:="1323413840235696130"
num := 0
for {
		users, cursor, err = scarper.FetchFollowingByUserID(userId, 200, cursor)
		if err != nil {
			return err
		}
		num += 50
		fmt.Println(num)
	}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions