Paginator and masto.v1.followedTags.list example #1242
Unanswered
GerritKuilder
asked this question in
Q&A
Replies: 1 comment
-
@GerritKuilder You may need to write as follows, without const tags = masto.v1.followedTags.list()
const tags1 = await tags.next()
const tags2 = await tags.next(); I hope this helps. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi All,
I have been spending a long day behind the computer and the last thing I wanted to test is getting all the followed tags for an account.
I can get the first 100 (that's by default, no surprise there) but I am a bit stumped how I can get all the tags the account follows.
I checked various examples mentioning paging and I looked at the code too but have not made any progress.
I tried const tags2 =await tags.next() as mentioned in another discussion but no luck there.(not a function)
The first 100 I get with const tags = await masto.v1.followedTags.list();
But I am stumped after that.
Kind Regards,
Gerrit Kuilder
Beta Was this translation helpful? Give feedback.
All reactions