mattn / go-mastodon

mastodon client for golang
MIT License
599 stars 85 forks source link

pagination not working for followers/following? #161

Open judell opened 1 year ago

judell commented 1 year ago

Hey there, thank you for making this SDK, I am making good use of it here: https://github.com/turbot/steampipe-plugin-mastodon

When I got to the followers/following part of the exercise, I wound up doing this workaround: https://github.com/turbot/steampipe-plugin-mastodon/blob/0bbcd2203aafcb4cb0a33b6f9b1d94567dbae600/mastodon/utils.go#L89 If that was unnecessary then please set me straight!

tehcyx commented 1 year ago

Having the same issue. It stopped working for me ~5 days ago and I have been running with v0.0.5 for 5 month or so. Thought updating from v0.0.5 to v0.0.6 would solve it, but my local testing has the same errors. Shuffling the code a little with how I handle pagination I can get either the first 40 results or none. Checked in with the admins of my mastodon instance and they said they have been running the current instance's version (4.0.2) for a couple month now.