You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
From the docs, I cant connect the concept of await homeTimeline.fetchLast(1000); to how that works in conjunction with
const mySearch = await client.v2.search('nodeJS');
for await (const tweet of mySearch) {
const availableMeta = mySearch.meta;
const availableIncludes = mySearch.includes;
// availableMeta and availableIncludes are filled with .meta and .includes
// fetched at the time you were reading this tweet
// Once the next page is automatically fetched, they can be updated!
}
In the second example (which I need in order to be pulling the includes users/media), there's no example of next(), fetchNext() or fetchlast() would be called.
Any examples or pseudocode would be greatly appreciated 🙏
The text was updated successfully, but these errors were encountered:
I've read the pagination docs 100x today and spent the past 4 hours trying to get basic pagination to work to no avail.
I have a tweet that I want to fetch all of the replies to.
This query works great returning the first 10 results but I cannot get anything more than 10 tweets from this paginator
From the docs, I cant connect the concept of
await homeTimeline.fetchLast(1000);
to how that works in conjunction withIn the second example (which I need in order to be pulling the includes users/media), there's no example of next(), fetchNext() or fetchlast() would be called.
Any examples or pseudocode would be greatly appreciated 🙏
The text was updated successfully, but these errors were encountered: