Loading...
Loading...
Compare original and translation side by side
APIFY_TOKENAPIFY_TOKEN| Parameter | Type | Required | Default | Notes |
|---|---|---|---|---|
| array | ✅ | | Twitter advanced search queries (e.g. |
| string | Optional | | Sort order: |
| string | Optional | — | ISO 639-1 language code (e.g. |
| number | Optional | Unlimited | Maximum tweets to return |
| boolean | Optional | | Only tweets from verified users |
| boolean | Optional | | Only Twitter Blue subscribers |
| boolean | Optional | | Only tweets with images |
| boolean | Optional | | Only tweets with videos |
| boolean | Optional | | Only quote tweets |
| string | Optional | — | Filter to a specific author handle |
| string | Optional | — | Tweets replying to a specific handle |
| string | Optional | — | Tweets mentioning a specific handle |
| string | Optional | — | Tweets near a location |
| string | Optional | — | Radius around geotaggedNear |
| string | Optional | — | Lat/lng + radius string |
| string | Optional | — | Tweets tagged with a place |
| number | Optional | — | Minimum retweet count |
| number | Optional | — | Minimum like count |
| number | Optional | — | Minimum reply count |
| string | Optional | — | Tweets after this date (YYYY-MM-DD) |
| string | Optional | — | Tweets before this date (YYYY-MM-DD) |
| boolean | Optional | | Add the matched search term to each tweet |
| string | Optional | — | JavaScript function to transform each output object |
| 参数 | 类型 | 是否必填 | 默认值 | 说明 |
|---|---|---|---|---|
| 数组 | ✅ | | Twitter高级搜索查询(例如: |
| 字符串 | 可选 | | 排序方式: |
| 字符串 | 可选 | — | ISO 639-1语言代码(例如: |
| 数字 | 可选 | 无限制 | 返回的最大推文数量 |
| 布尔值 | 可选 | | 仅返回认证用户的推文 |
| 布尔值 | 可选 | | 仅返回Twitter Blue订阅用户的推文 |
| 布尔值 | 可选 | | 仅返回带图片的推文 |
| 布尔值 | 可选 | | 仅返回带视频的推文 |
| 布尔值 | 可选 | | 仅返回引用推文 |
| 字符串 | 可选 | — | 筛选特定作者的推文(需提供账号 handle) |
| 字符串 | 可选 | — | 回复特定账号的推文 |
| 字符串 | 可选 | — | 提及特定账号的推文 |
| 字符串 | 可选 | — | 特定地点附近的推文 |
| 字符串 | 可选 | — | |
| 字符串 | 可选 | — | 纬度/经度 + 半径的字符串 |
| 字符串 | 可选 | — | 标记了特定地点的推文 |
| 数字 | 可选 | — | 最小转发量 |
| 数字 | 可选 | — | 最小点赞量 |
| 数字 | 可选 | — | 最小回复量 |
| 字符串 | 可选 | — | 此日期之后的推文(格式:YYYY-MM-DD) |
| 字符串 | 可选 | — | 此日期之前的推文(格式:YYYY-MM-DD) |
| 布尔值 | 可选 | | 为每条推文添加匹配的搜索词 |
| 字符串 | 可选 | — | 用于转换每个输出对象的JavaScript函数 |
Progress:
- [ ] Step 1: Define topic and sentiment scope
- [ ] Step 2: Collect tweets via search
- [ ] Step 3: Classify sentiment per tweet
- [ ] Step 4: Identify themes per sentiment bucket
- [ ] Step 5: Deliver sentiment report进度:
- [ ] 步骤1:定义话题和情绪分析范围
- [ ] 步骤2:通过搜索收集推文
- [ ] 步骤3:对每条推文进行情绪分类
- [ ] 步骤4:按情绪类别识别主题
- [ ] 步骤5:交付情绪分析报告undefinedundefined> `APIFY_TOKEN` must be set in environment or `.env` file.
**If Apify MCP is available:**
**REST API fallback:**
```bash
curl -X POST \
"https://api.apify.com/v2/acts/apidojo~tweet-scraper/runs?token=$APIFY_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"searchTerms": ["[TOPIC_KEYWORD]"],
"maxItems": 500,
"tweetLanguage": "en",
"since": "[YYYY-MM-DD]"
}'> 必须在环境变量或`.env`文件中设置`APIFY_TOKEN`。
**如果Apify MCP可用:**
**REST API备选方案:**
```bash
curl -X POST \
"https://api.apify.com/v2/acts/apidojo~tweet-scraper/runs?token=$APIFY_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"searchTerms": ["[TOPIC_KEYWORD]"],
"maxItems": 500,
"tweetLanguage": "en",
"since": "[YYYY-MM-DD]"
}'texttextundefinedundefined████████████░░░░░░░░ Positive: [X%] ([N] tweets)
████░░░░░░░░░░░░░░░░ Negative: [X%] ([N] tweets)
██████████░░░░░░░░░░ Neutral: [X%] ([N] tweets)████████████░░░░░░░░ 正面:[X%]([N]条推文)
████░░░░░░░░░░░░░░░░ 负面:[X%]([N]条推文)
██████████░░░░░░░░░░ 中性:[X%]([N]条推文)undefinedundefined