Skip to content

Commit

Permalink
docs: update README with home timeline fetching example (#52)
Browse files Browse the repository at this point in the history
  • Loading branch information
hashirpm authored Jan 15, 2025
1 parent c15e68d commit be09d19
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,9 @@ const listTweets = await scraper.fetchListTweets('1234567890', 50);
// Get a user's tweets
const tweets = scraper.getTweets('TwitterDev');

// Fetch the home timeline
const homeTimeline = await scraper.fetchHomeTimeline(10, ['seenTweetId1','seenTweetId2']);

// Get a user's liked tweets
const likedTweets = scraper.getLikedTweets('TwitterDev');

Expand Down

0 comments on commit be09d19

Please sign in to comment.