![Best Twitter Scraper avatar](https://images.apifyusercontent.com/v4MffFLf_8sj1CXD5VVdwgKhbAqynCXl_JSzXiIw6kU/rs:fill:250:250/aHR0cHM6Ly9hcGlmeS1pbWFnZS11cGxvYWRzLXByb2QuczMuYW1hem9uYXdzLmNvbS9aWUc5bGk2S2VBTUZ1ZzZrSC9GdHozaFphc0Q0UlR4cmtLUC15UnNSUmpHT180MDB4NDAwLmpwZw.webp)
Best Twitter Scraper
Try for free
No credit card required
View all Actors![Best Twitter Scraper](https://images.apifyusercontent.com/v4MffFLf_8sj1CXD5VVdwgKhbAqynCXl_JSzXiIw6kU/rs:fill:250:250/aHR0cHM6Ly9hcGlmeS1pbWFnZS11cGxvYWRzLXByb2QuczMuYW1hem9uYXdzLmNvbS9aWUc5bGk2S2VBTUZ1ZzZrSC9GdHozaFphc0Q0UlR4cmtLUC15UnNSUmpHT180MDB4NDAwLmpwZw.webp)
![Best Twitter Scraper](https://images.apifyusercontent.com/v4MffFLf_8sj1CXD5VVdwgKhbAqynCXl_JSzXiIw6kU/rs:fill:250:250/aHR0cHM6Ly9hcGlmeS1pbWFnZS11cGxvYWRzLXByb2QuczMuYW1hem9uYXdzLmNvbS9aWUc5bGk2S2VBTUZ1ZzZrSC9GdHozaFphc0Q0UlR4cmtLUC15UnNSUmpHT180MDB4NDAwLmpwZw.webp)
Best Twitter Scraper
zhangzhenhu/best-twitter-scraper
Try for free
No credit card required
Twitter scraper that scrapes the latest Twitter content of any user. Since you need to be logged in to Twitter to crawl, you need to provide a Twitter account. Twitter 抓取器,可以抓取任意用户最新的Twitter内容。 因为需要先登录 Twitter 才能抓取,所以需要提供一个 Twitter 的账号。
The code examples below show how to run the Actor and get its results. To run the code, you need to have an Apify account. Replace <YOUR_API_TOKEN> in the code with your API token, which you can find under Settings > Integrations in Apify Console. Learn more
1# Set API token
2API_TOKEN=<YOUR_API_TOKEN>
3
4# Prepare Actor input
5cat > input.json <<'EOF'
6{
7 "login_user": "HuZhang18851",
8 "login_password": "r7pkkp22",
9 "names": [
10 "elonmusk"
11 ],
12 "tweet_urls": [],
13 "search_urls": []
14}
15EOF
16
17# Run the Actor using an HTTP API
18# See the full API reference at https://docs.apify.com/api/v2
19curl "https://api.apify.com/v2/acts/zhangzhenhu~best-twitter-scraper/runs?token=$API_TOKEN" \
20 -X POST \
21 -d @input.json \
22 -H 'Content-Type: application/json'
Developer
Maintained by Community
Actor metrics
- 27 monthly users
- 1 star
- 91.1% runs succeeded
- Created in Aug 2023
- Modified 12 months ago
Categories