Chuyển đến nội dung
Skillpedia
Triển khai và đám mây (DevOps)40k · #7483

x-twitter-scraper

Skill này làm gì

Công cụ này giúp bạn lấy dữ liệu từ X (trước đây là Twitter) và tích hợp vào ứng dụng hoặc quy trình làm việc. Bạn có thể tìm kiếm tweet, lấy thông tin người dùng và tải xuống nội dung đa phương tiện.

Khi nào nên dùng

  • ✓Khi bạn cần thu thập dữ liệu tweet để phân tích.
  • ✓Khi phát triển một ứng dụng hiển thị thông tin hồ sơ X.
  • ✓Để tự động tải xuống nội dung đa phương tiện được đăng trên X.

Liên kết skill

https://github.com/github/awesome-copilot/blob/main/skills/x-twitter-scraper/SKILL.md

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/github/awesome-copilot/blob/main/skills/x-twitter-scraper/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Tìm 50 tweet gần đây nhất về trí tuệ nhân tạo và lưu các liên kết.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Công cụ kết nối với API của X để thực hiện tìm kiếm và thu thập dữ liệu. Nó có thể dùng các công cụ có sẵn (như “Actors” của Apify) hoặc thư viện lập trình để hỗ trợ việc tích hợp.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

X Twitter Scraper

Use this skill when a user wants to integrate Xquik into an app, script, data pipeline, or AI agent workflow for X API and Twitter scraper tasks.

Use Cases

  • Search tweets, fetch tweet details, read timelines, and download media.
  • Look up users, check relationships, and export followers or following.
  • Start extraction jobs for replies, reposts, quotes, likes, lists, communities, articles, and search results.
  • Create account monitors and verify HMAC-signed webhook events.
  • Add TypeScript, Python, Go, Java, Kotlin, C#, Ruby, PHP, CLI, or Terraform clients.
  • Run hosted tweet and audience collection through Apify Actors.
  • Connect agent runtimes through the Xquik MCP server.
  • Install TweetClaw when the workflow belongs inside OpenClaw and needs plugin-managed approvals for X account actions.

Source Checks

Before writing code, inspect the current Xquik source material:

Do not invent endpoint names, request fields, response fields, scopes, pricing, limits, or package names. Read the relevant SDK README and API reference page first.

Implementation Flow

  1. Identify the workflow: search, lookup, extraction, monitor, webhook, media, write action, billing, or MCP.
  2. Choose the integration surface: generated SDK for application code, REST for custom clients, Apify Actors for hosted collection, MCP for agents, TweetClaw for OpenClaw plugin workflows, or webhooks for event delivery.
  3. Confirm authentication requirements from the docs and use environment variables for API keys.
  4. Use typed request and response models when an SDK exists for the user's language.
  5. Add retries and pagination according to the SDK or API docs.
  6. Show the target and usage estimate, then get explicit approval before private reads, metered extractions, draws, writes, monitors, webhooks, or other persistent work.
  7. Keep webhook verification server-side and compare HMAC signatures before processing events.
  8. Return structured data to the caller instead of scraping generated UI output.

SDK Pattern

When application code is involved, match the SDK to the user's project language:

  • Inspect project files and package manifests to identify the language and framework.
  • Open the SDK index, then read the matching SDK README before choosing install commands, package names, imports, or client methods.
  • Prefer the official SDK for the detected language when one exists.
  • Use REST only when the project language has no suitable official SDK or the user asks for a custom client.
  • Keep API keys in environment variables or the project's existing secret manager.

Use project-native typed request and response models. Keep network calls in server-side code unless the SDK docs explicitly support browser use.

Extraction Pattern

Use extraction jobs for complete or large follower, following, reply, quote, repost, like, list, community, article, media, and search exports.

  1. Call POST /extractions/estimate with the intended target and filters.
  2. Show the returned result estimate and usage estimate.
  3. Wait for explicit approval before creating the extraction.
  4. Poll the job to a terminal state, then fetch or export its results.

Do not treat an extraction-backed follower export as a free public read. Direct, bounded public pagination remains read-only.

Apify Actor Pattern

Use the Apify path when a workflow needs hosted runs, datasets, schedules, or Apify-native orchestration.

Need Actor REST ID
Tweets, search, timelines, lists, articles, replies, quotes, threads, retweeters, or best-effort favoriters xquik/x-tweet-scraper xquik~x-tweet-scraper
Followers, following, verified followers, list members, list subscribers, or community members xquik/x-follower-scraper xquik~x-follower-scraper

…

Câu hỏi thường gặp

Tôi có cần tài khoản X để dùng không?

Có, để tương tác với API của X và thu thập dữ liệu, bạn thường cần thông tin xác thực liên kết với một tài khoản X.

Tôi có thể tải video từ X không?

Có, công cụ hỗ trợ tải xuống nội dung đa phương tiện, bao gồm video được đăng trên X.

Có an toàn khi dùng khóa API của tôi không?

Công cụ khuyên dùng biến môi trường để lưu khóa API, đây là cách an toàn để tránh lộ khóa trực tiếp trong mã.

Chi tiết

Mô tả gốc của tác giả

Build GitHub Copilot workflows with Xquik X API SDKs, REST endpoints, hosted Apify Actor runs, MCP tools, TweetClaw OpenClaw plugin installs, signed webhooks, tweet search, user lookup, follower exports, media actions, and agent automation.

repo: github/awesome-copilot

Độ phổ biến

Sao GitHub
40k
Vị trí xếp hạng
#7483
Giấy phép
MIT
Cập nhật
15/10/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự