We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 4d47a06 + 0bbfaf7 commit 908fff3Copy full SHA for 908fff3
scripts/gettweets.mjs
@@ -22,7 +22,7 @@ const TWEETS_FILE = "tweets.json";
22
console.log("Logged in successfully!");
23
24
// Fetch all tweets for the user "@realdonaldtrump"
25
- const tweets = scraper.getTweets("pmarca", 2000);
+ const tweets = await scraper.getTweets("pmarca", 2000);
26
27
// Initialize an empty array to store the fetched tweets
28
let fetchedTweets = [];
0 commit comments