-
-
Notifications
You must be signed in to change notification settings - Fork 49
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
Can't figure out the proper usage of Cursor Parameter #518
Comments
After a few modification this code snippet seems to be working
|
Yeah I was checking it out just now and it was probably because of the default cursor being "-1" instead of undefined. As for the count, I'm checking on it now. |
Awesome! |
My first guess is twitter removed custom count values altogether, although I need to confirm this. |
Okay just tested it and it seems like it's either bugged on Twitter's end or something is changing on Twitter, cause even using the web-app, I can't see all followers and the list just stops loading after some time. And at other times, the web-app is falling back to using the older v1.1 API endpoints instead of the new v2 endpoints for some reason. Guess we'll just have to wait for some time for things to settle down. In the meantime, I'll see if this is intended or if something is really bugged on Twitter's side. |
Just checked in with the android app and the followers and followings list is bugged there too. Seems like a bug on Twitter's end. |
Awesome. and Yes, I guess that's really a bug on Twitter's end. Looking forward to it. And Many Thanks for the support |
I've been recently experimenting with this API, [This is a very cool one, A lot of Thanks first of all]. But I'm trying to paginate through all the users followed by the given user.
I'm aware that the first request doesn't take account of the "count" parameter and returns a cursor which can be accessed at "response.next.value"
The code snipper I'm using:
This seems to work partially. The code uses the Cursor to fetch the List successfully. but it returns the same list again and again with different cursors.
Output of those console logs:
The list length is always consistent and the first returned user is always the same. Would be really grateful if you help me with this
The text was updated successfully, but these errors were encountered: