Langsung ke konten
Skillpedia
Media sosial6.3k Β· #14322

x-tweet-search

Fungsinya

Skill ini mengumpulkan data tweet lengkap dari X untuk sebuah kueri pencarian, nama pengguna, atau tautan langsung. Skill ini ditujukan untuk pemasar, peneliti, dan analis yang bekerja dengan konten X.

Kapan dipakai

  • βœ“Saat Anda ingin mengumpulkan tweet tentang sebuah topik di X.
  • βœ“Ketika Anda membutuhkan postingan dari akun X tertentu dalam daftar yang terstruktur.
  • βœ“Saat Anda ingin mengumpulkan metrik tweet untuk riset media sosial.

Link skill

https://github.com/browser-act/skills/blob/main/solutions/social-listening/x-tweet-search/SKILL.md

Salin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.

Cara pakai

Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.

Pesan siap tempel

Gunakan skill ini untuk membantu saya: https://github.com/browser-act/skills/blob/main/solutions/social-listening/x-tweet-search/SKILL.md Baca file SKILL.md di link tersebut dan ikuti instruksinya untuk tugas saya.
Mau AI Anda menemukan skill seperti ini sendiri?Pasang MCP Skillpedia gratis: cukup satu baris, dan AI mencari di antara 15.000+ skill sebelum tiap tugas.Pasang dalam 1 menit β†’

Contoh permintaan ke AI

β€œKumpulkan tweet terbaru yang menyebut nama produk kami, beserta detail penulis dan angka interaksinya.”

5 skill baru setiap minggu. 1 menit baca.

Cara kerjanya

Skill ini membuka pencarian X, profil, atau halaman tweet di browser Anda yang sudah masuk, lalu membaca tweetnya. Ia mengembalikan daftar terstruktur dengan teks, informasi penulis, metrik interaksi, media, dan tagar untuk setiap tweet.

Konten teknis (SKILL.md asli)

Teks asli dari pembuat, dalam bahasa Inggris, langsung dari GitHub.

X (Twitter) β€” Tweet Search & Scraper

Search query / handle / URL β†’ structured tweet list (text, author, metrics, media, entities)

Language

All process output to user (progress updates, process notifications) follows the user's language.

Objective

Collect tweets matching a search query, from specific user profiles, or from direct URLs, extracting complete structured data for each tweet.

Prerequisites

  • Target page is already open in the browser: https://x.com/search?q=... or https://x.com/{handle} or a direct tweet/list URL
  • User must be logged in to X (user avatar or username visible in left sidebar)

Pre-execution Checks

1. Tool Readiness

If browser-act has been confirmed available in the current session β†’ skip this step.

Invoke browser-act via Skill tool to load usage. If installation or configuration issues arise, follow its guidance to resolve then retry.

2. Login Verification

If login status for X has been confirmed in the current session β†’ skip this step.

Otherwise: open https://x.com and observe the left sidebar:

  • User avatar or "@username" visible at the bottom β†’ logged in, continue
  • "Sign in" or "Log in" button visible β†’ not logged in, inform user that X login is required and assist with the login flow

User refuses or cannot log in β†’ terminate execution.

Capability Components

This Skill's operational boundary = what the user can manually do in their browser. It reads tweet data already rendered in the X DOM, never bypassing authentication. JS is encapsulated in scripts/ files, invoked via eval "$(python scripts/xxx.py)". Use the bash tool for execution.

DOM: Tweet list extraction (React Fiber)

Extracts all currently visible tweets from the page via React internal state (React Fiber). Works on search pages, profile pages, list pages, and any X page rendering tweet articles.

Wait for tweets to appear before extracting:

wait --selector "article[data-testid='tweet']" --state attached --timeout 15000

Extract: eval "$(python scripts/extract-tweets.py)"

Returns a JSON array. Each element:

[
  {
    "id": "2059255862548738182",          // tweet ID
    "url": "https://x.com/NASA/status/2059255862548738182",  // direct link
    "text": "Full tweet text including hashtags and URLs",   // full_text field
    "created_at": "2026-05-26T12:50:31.000Z",               // ISO 8601
    "lang": "en",                         // ISO 639-1 language code, null if unknown
    "author_id": "11348282",              // author user ID
    "author_name": "NASA",                // display name
    "author_screen_name": "NASA",         // @handle (without @)
    "author_profile_image": "https://pbs.twimg.com/profile_images/.../photo.jpg",
    "author_followers": 92080161,         // follower count
    "author_following": 305,              // following count
    "author_verified": false,             // legacy blue checkmark
    "author_blue_verified": true,         // X Blue / Gold / Gray checkmark
    "author_location": "Washington, D.C.", // profile location, null if not set
    "author_description": "Explore the universe...",  // bio, null if empty
    "like_count": 82579,
    "retweet_count": 11952,
    "reply_count": 4230,
    "quote_count": 1850,
    "bookmark_count": 12400,
    "view_count": 25923006,               // null if not available
    "is_retweet": false,
    "is_quote": false,
    "is_reply": false,
    "in_reply_to_tweet_id": null,         // parent tweet ID if is_reply=true
    "in_reply_to_user": null,             // @handle of replied-to user
    "conversation_id": "2059255862548738182",
    "hashtags": ["AI", "Space"],          // without #
    "urls": ["https://example.com/article"],  // expanded URLs from entities
    "mentions": ["SpaceX", "ESA"],        // @handles without @
    "media": [
      {
        "type": "video",                  // "photo", "video", "animated_gif"
        "url": "https://pbs.twimg.com/amplify_video_thumb/.../img/thumb.jpg",
        "alt_text": null,
        "video_variants": [
          {"bitrate": 2176000, "url": "https://video.twimg.com/.../1280x720/video.mp4"},
          {"bitrate": 832000,  "url": "https://video.twimg.com/.../640x360/video.mp4"}
        ]
      }
    ],
    "source_name": "Twitter for iPhone",  // client used to post
    "source_url": "http://twitter.com/download/iphone"
  }
]

URL Construction Guide

Input type β†’ URL mapping

searchTerms (keyword / advanced query):

Pertanyaan umum

Apa yang bisa saya gunakan untuk mencari?

Anda bisa memakai kueri pencarian, nama pengguna, atau tautan langsung X atau Twitter.

Apakah saya perlu login?

Ya, skill ini memeriksa bahwa Anda sudah masuk ke X sebelum membaca halaman.

Data apa yang dikembalikan?

Setiap tweet mencakup teks, detail penulis, metrik interaksi, media, dan tagar.

Detail

Deskripsi asli dari pembuat

Scrapes tweets from X (Twitter) by search query, user handle, or direct URL β€” returns full tweet data including text, author info, engagement metrics, media, and hashtags. Use when user mentions X, Twitter, tweet scraping, scrape tweets, get tweets, fetch tweets, twitter data, x.com data, tweet collector, tweet search, twitter search, social media scraping, twitter handle scraping, scrape user tweets, from:username, twitter keyword search, hashtag search, twitter timeline, twitter list scraping, collect twitter posts, export tweets, tweet analysis, twitter monitoring, search twitter, get twitt

repo: browser-act/skills

Popularitas

Bintang GitHub
6.3k
Peringkat
#14322
Lisensi
MIT
Diperbarui
24/8/2026

Apakah skill ini berguna?

0

Masuk untuk memberi suara.

Komentar

  • …

Skill lain dari repositori ini

Skill serupa