Learn about the Twitter Scraper Tool used by the Newsletter AI Agent
BaseTool
that interacts with the Apify Twitter Scraper Lite actor. Here’s the implementation:
Parameter | Type | Description | Default |
---|---|---|---|
searchTerms | List[str] | Search terms to find tweets containing these terms | None |
sort | str | How to sort the returned tweets (“Top” or “Latest”) | “Top” |
start | str | Scrape tweets starting from this date (YYYY-MM-DD) | None |
end | str | Scrape tweets until this date (YYYY-MM-DD) | None |
text
: The text content of the tweeturl
: The URL of the tweetusername
: The username of the tweet authortimestamp
: The timestamp when the tweet was postedlikes
: The number of likes the tweet receivedretweets
: The number of retweets the tweet received