can figure out how to use pagination when using V2 following endpoint #141
Answered
by
alkihis
shamshirii
asked this question in
Q&A
-
hi there |
Beta Was this translation helpful? Give feedback.
Answered by
alkihis
Jan 3, 2022
Replies: 1 comment
-
Hi, a quick example: const user = await client.v2.userByUsername('the_piedude');
const followings = await client.v2.following(user.data.id, { asPaginator: true });
for await (const following of followings) {
console.log(following.id);
} |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
alkihis
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi, a quick example: