-
Notifications
You must be signed in to change notification settings - Fork 149
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
Search tweets not working properly #24
Comments
agent-twitter-client/src/timeline-async.ts Lines 59 to 90 in 0920a6d
Because this function returns a For example: for (const mention of mentions) {
console.log(mention);
}; |
@abcfy2 |
Oh sorry, it's an // remove await because 'await' has no effect on the type of this expression
const mentions = this.scraper.searchTweets(
'#nodejs', 20, SearchMode.Latest
);
for await (const mention of mentions) {
console.log(mention);
}; |
after successful scraper login, I am trying to search tweets, but it's just returning empty object
here is my basic code
In my console, it's just
mentions Object [AsyncGenerator] {}
The text was updated successfully, but these errors were encountered: