x-developer 2.3.1 → 2.4.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -10
- package/openclaw.plugin.json +2 -2
- package/package.json +6 -3
- package/skills/check-mutuals/SKILL.md +50 -0
- package/skills/clean-followers/SKILL.md +66 -0
- package/skills/export-tweets-csv/SKILL.md +65 -0
- package/skills/extract-followers/SKILL.md +78 -0
- package/skills/find-bangers/SKILL.md +56 -0
- package/skills/find-influencers/SKILL.md +67 -0
- package/skills/find-viral-tweets/SKILL.md +75 -0
- package/skills/follow-unfollow/SKILL.md +79 -0
- package/skills/for-you-feed/SKILL.md +57 -0
- package/skills/going-viral/SKILL.md +64 -0
- package/skills/grow-followers/SKILL.md +61 -0
- package/skills/monitor-accounts/SKILL.md +77 -0
- package/skills/optimize-tweets/SKILL.md +73 -0
- package/skills/post-tweets/SKILL.md +105 -0
- package/skills/run-giveaway/SKILL.md +88 -0
- package/skills/search-tweets/SKILL.md +119 -0
- package/skills/send-dms/SKILL.md +88 -0
- package/skills/top-replies/SKILL.md +66 -0
- package/skills/track-competitors/SKILL.md +67 -0
- package/skills/track-hashtags/SKILL.md +81 -0
- package/skills/track-mentions/SKILL.md +83 -0
- package/skills/trending-news/SKILL.md +63 -0
- package/skills/tweet-analytics/SKILL.md +131 -0
- package/skills/tweet-ideas/SKILL.md +59 -0
- package/skills/tweet-replies/SKILL.md +77 -0
- package/skills/tweet-style/SKILL.md +68 -0
- package/skills/tweet-webhooks/SKILL.md +79 -0
- package/skills/update-x-profile/SKILL.md +71 -0
- package/skills/user-tweets/SKILL.md +125 -0
- package/skills/who-liked/SKILL.md +63 -0
- package/skills/who-quoted/SKILL.md +63 -0
- package/skills/who-retweeted/SKILL.md +62 -0
- package/skills/write-threads/SKILL.md +69 -0
- package/skills/write-tweets/SKILL.md +75 -0
- package/skills/x-articles/SKILL.md +79 -0
- package/skills/x-bookmarks/SKILL.md +57 -0
- package/skills/x-communities/SKILL.md +66 -0
- package/skills/x-lists/SKILL.md +65 -0
- package/skills/x-spaces/SKILL.md +62 -0
- package/skills/x-trends/SKILL.md +67 -0
- package/skills/x-twitter-scraper/SKILL.md +72 -60
- package/skills/x-twitter-scraper/metadata.json +2 -2
- package/skills/x-twitter-scraper/references/api-endpoints.md +7 -251
- package/skills/x-twitter-scraper/references/extractions.md +1 -1
- package/skills/x-twitter-scraper/references/mcp-setup.md +15 -8
- package/skills/x-twitter-scraper/references/mcp-tools.md +2 -7
- package/skills/x-twitter-scraper/references/pricing.md +2 -2
- package/skills/x-twitter-scraper/references/python-examples.md +0 -2
- package/skills/x-twitter-scraper/references/types.md +4 -171
- package/skills/x-twitter-scraper/references/webhooks.md +2 -2
- package/skills/x-twitter-scraper/references/workflows.md +3 -5
|
@@ -60,8 +60,8 @@ app.post("/webhook", express.raw({ type: "application/json" }), (req, res) => {
|
|
|
60
60
|
case "tweet.reply":
|
|
61
61
|
console.log(`Reply from @${event.username}: ${event.data.text}`);
|
|
62
62
|
break;
|
|
63
|
-
case "
|
|
64
|
-
console.log(`@${event.username}
|
|
63
|
+
case "tweet.retweet":
|
|
64
|
+
console.log(`@${event.username} retweeted`);
|
|
65
65
|
break;
|
|
66
66
|
}
|
|
67
67
|
|
|
@@ -115,7 +115,7 @@ while (true) {
|
|
|
115
115
|
cursor = page.nextCursor;
|
|
116
116
|
}
|
|
117
117
|
|
|
118
|
-
// Step 5: Export as CSV/XLSX
|
|
118
|
+
// Step 5: Export as CSV/JSON/MD/MD-document/PDF/TXT/XLSX (100,000 row limit; PDF 10,000)
|
|
119
119
|
const exportUrl = `${BASE}/extractions/${job.id}/export?format=csv`;
|
|
120
120
|
const csvResponse = await fetch(exportUrl, { headers });
|
|
121
121
|
const csvData = await csvResponse.text();
|
|
@@ -131,7 +131,7 @@ const monitor = await xquikFetch("/monitors", {
|
|
|
131
131
|
method: "POST",
|
|
132
132
|
body: JSON.stringify({
|
|
133
133
|
username: "elonmusk",
|
|
134
|
-
eventTypes: ["tweet.new", "tweet.reply", "tweet.quote", "
|
|
134
|
+
eventTypes: ["tweet.new", "tweet.reply", "tweet.quote", "tweet.retweet"],
|
|
135
135
|
}),
|
|
136
136
|
});
|
|
137
137
|
|
|
@@ -149,7 +149,7 @@ const webhook = await xquikFetch("/webhooks", {
|
|
|
149
149
|
const events = await xquikFetch("/events?monitorId=7&limit=50");
|
|
150
150
|
```
|
|
151
151
|
|
|
152
|
-
Event types: `tweet.new`, `tweet.quote`, `tweet.reply`, `tweet.retweet`, `
|
|
152
|
+
Event types: `tweet.new`, `tweet.quote`, `tweet.reply`, `tweet.retweet`, `webhook.test`.
|
|
153
153
|
|
|
154
154
|
## Endpoint Guide
|
|
155
155
|
|
|
@@ -189,6 +189,4 @@ Event types: `tweet.new`, `tweet.quote`, `tweet.reply`, `tweet.retweet`, `follow
|
|
|
189
189
|
| **Update profile** | `PATCH /x/profile` | 10 credits |
|
|
190
190
|
| **Upload media** | `POST /x/media` | 10 credits |
|
|
191
191
|
| **Community actions** | `POST /x/communities`, join/leave | 10 credits |
|
|
192
|
-
| **Telegram integration** | `POST /integrations` | Free |
|
|
193
|
-
| **Automation flows** | `POST /automations` | Free |
|
|
194
192
|
| **Support tickets** | `POST /support/tickets` | Free |
|