मुख्य सामग्री पर जाएँ
Skillpedia
सोशल मीडिया6.3k · #14321

x-tweet-search-by-query

यह क्या करती है

यह स्किल X पर एडवांस्ड खोज चलाती है और आपकी क्वेरी से मेल खाते ट्वीट लौटाती है। यह शोधकर्ताओं, मार्केटर्स और पत्रकारों के लिए है जिन्हें तय समय सीमा में किसी विषय के ट्वीट चाहिए।

कब इस्तेमाल करें

  • ✓जब आप किसी विषय के ट्वीट एक तारीख़ की सीमा में खोजना चाहते हैं।
  • ✓जब आपको ऐसे ट्वीट चाहिए जिनमें कोई हैशटैग या कुछ कीवर्ड हों।
  • ✓जब आप विश्लेषण के लिए ट्वीट का बड़ा सेट इकट्ठा करना चाहते हैं।

Skill का लिंक

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

इसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।

कैसे इस्तेमाल करें

सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।

पेस्ट करने के लिए तैयार मैसेज

इस skill से मेरी मदद करो: https://github.com/browser-act/skills/blob/main/solutions/social-listening/x-tweet-search-by-query/SKILL.md इस लिंक की SKILL.md फ़ाइल पढ़ो और मेरे काम में उसके निर्देशों का पालन करो।
क्या आप चाहते हैं कि आपका AI ऐसी skills खुद ढूँढे?मुफ़्त Skillpedia MCP इंस्टॉल करें: बस एक लाइन, और हर काम से पहले यह 15,000+ skills में खोजता है।1 मिनट में इंस्टॉल करें →

AI से क्या माँगें: उदाहरण

“इस साल जनवरी से मार्च के बीच पोस्ट हुए सोलर पैनल के ट्वीट खोजिए और उनका टेक्स्ट व लाइक की संख्या दिखाइए।”

हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।

यह कैसे काम करती है

स्किल आपकी एडवांस्ड क्वेरी X में डालती है और मिलते ट्वीट पढ़ती है। हर ट्वीट का टेक्स्ट, लेखक की प्रोफ़ाइल, एंगेजमेंट की गिनती, मीडिया, हैशटैग, उल्लेख और पेजिंग के लिए कर्सर लौटाती है।

तकनीकी सामग्री (मूल SKILL.md)

लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।

X — Tweet Search by Query

Advanced search query → normalized list of tweets matching the query (with author, engagement, media, cursor).

Language

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

Objective

Collect tweets that match an X advanced-search query expression, returning structured per-tweet data and pagination cursors for unbounded bulk collection.

Prerequisites

  • Active X session in the browser (left sidebar shows logged-in avatar / @handle).
  • Network capture is enabled in the browser-act session.

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 @handle visible at the bottom → logged in, continue
  • "Sign in" / "Log in" prompt visible → not logged in, inform the user that an X login is required and assist 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 only reads tweet data rendered by the user's own X session, never bypassing authentication. Each search request is signed by X's own page JS; the Skill triggers it via URL navigation and reads structured GraphQL responses from network traffic. Python scripts under scripts/ only build URLs and parse responses — they do not call X directly. Run them through the bash tool.

Network Capture: search tweets via advanced query

All search parameters are encoded into X's native advanced search syntax via the URL builder, then injected through the page URL. The browser's own JS signs the GraphQL request; the response is read from network traffic and parsed locally.

Step 1 — build the search URL with all desired filters:

URL=$(python scripts/build-search-url.py '{raw_query}' --sort {sort} [--language {iso}] [--min-retweets {n}] [--min-faves {n}] [--min-replies {n}] [--since YYYY-MM-DD] [--until YYYY-MM-DD] [--author {handle}] [--in-reply-to {handle}] [--mentioning {handle}] [--only-verified] [--only-blue-verified] [--only-image] [--only-video] [--only-quote] [--exclude-retweets] [--exclude-replies] [--geocode LAT,LON,RADIUSmi] [--near 'PLACE'] [--within 15mi])

Parameters:

  • raw_query (positional): free-form X advanced search expression; all standard operators are supported and may already include any clause below. Operators added via flags are skipped if the same operator is already present in raw_query.
  • --sort: Latest (default) or Top. Maps to URL f=live and f=top, which select GraphQL product=Latest vs product=Top.
  • --language: ISO 639-1 code, appended as lang:CODE.
  • --min-retweets / --min-faves / --min-replies: integer thresholds, appended as min_retweets:N / min_faves:N / min_replies:N.
  • --since / --until: YYYY-MM-DD, appended as since: / until:.
  • --author: only tweets from this handle, appended as from:HANDLE.
  • --in-reply-to: only tweets replying to this handle, appended as to:HANDLE.
  • --mentioning: only tweets mentioning this handle, appended as @HANDLE.
  • --only-verified / --only-blue-verified: appended as filter:verified / filter:blue_verified.
  • --only-image / --only-video / --only-quote: appended as filter:images / filter:native_video / filter:quote.
  • --exclude-retweets / --exclude-replies: appended as -filter:retweets / -filter:replies.
  • --geocode: LAT,LON,RADIUSmi or LAT,LON,RADIUSkm, appended as geocode:LAT,LON,RADIUS.
  • --near / --within: appended as near:"PLACE" and within:VALUE.

Step 2 — navigate and capture the first page:

  1. network requests --clear
  2. navigate "$URL"
  3. wait stable --timeout 25000 (a timeout is normal on X; proceed even if it fires — the GraphQL response usually completes before the page reaches network-idle)
  4. network requests --type xhr,fetch --filter SearchTimeline → take the latest entry's request_id
  5. network request <request_id> → save full output to a file (e.g. tmp/x-search-page-1.txt)
  6. python scripts/parse-tweets.py --json-file tmp/x-search-page-1.txt --source search → emit
अक्सर पूछे जाने वाले सवाल

क्या मैं तारीख़ से खोज सकता हूँ?

हाँ, विवरण के अनुसार एडवांस्ड क्वेरी में since और until तारीख़ फ़िल्टर इस्तेमाल हो सकते हैं।

क्या मुझे लॉगिन होना चाहिए?

हाँ, स्किल को आपके ब्राउज़र में सक्रिय X सेशन चाहिए।

क्या मैं बड़ी संख्या में परिणाम इकट्ठा कर सकता हूँ?

हाँ, कर्सर से आप बड़े संग्रह के लिए परिणामों के पेज आगे बढ़ा सकते हैं।

जानकारी

लेखक का मूल विवरण

Searches X (Twitter) for tweets by free-form advanced query and returns a normalized tweet list with text, author profile, engagement counts, media, hashtags, mentions, and cursor for pagination. Use when user mentions X search, Twitter search, scrape tweets by keyword, search X by hashtag, search Twitter by hashtag, find tweets about a topic, search tweets by date range, since until search Twitter, advanced Twitter search, tweets with media, tweets with images, tweets with video, top tweets, latest tweets, X latest tab, X top tab, min_faves, min_retweets, min_replies, filter verified Twitter,

repo: browser-act/skills

लोकप्रियता

GitHub स्टार
6.3k
रैंकिंग में स्थान
#14321
लाइसेंस
MIT
अपडेट की गई
24/8/2026

क्या यह skill काम की है?

0

लॉग इन करें वोट करने के लिए।

कमेंट

  • …

इस repository की और skills

browser-act-skill-forge

6.3k

आपके एजेंट को एक वेबसाइट एक बार देखकर स्क्रिप्ट के साथ दोबारा इस्तेमाल होने वाली स्किल सहेजने में मदद करती है, ताकि बाद में उस साइट से डेटा तेज़ी से मिले।

प्रोडक्टिविटीऑटोमेशन

browser-act

6.3k

आपके एजेंट को ब्राउज़र ऑटोमेशन टूल चलाने में मदद करती है, ताकि पेज खुलें, रेंडर हुई सामग्री पढ़ी जाए, फ़ॉर्म भरे जाएँ, स्क्रीनशॉट लिए जाएँ और लॉगिन सेशन सँभाले जाएँ।

प्रोडक्टिविटीऑटोमेशन

1688-product-detail

6.3k

आपके एजेंट को 1688.com थोक पेज से उत्पाद का विवरण निकालने में मदद करती है, जैसे कीमत के स्तर, वेरिएंट, विक्रेता के आँकड़े और विशेषताएँ।

डेटावेब स्क्रैपिंग

airbnb-listing-detail

6.3k

आपके एजेंट को उसकी ID से Airbnb लिस्टिंग का सार्वजनिक विवरण लाने में मदद करती है, जैसे तस्वीरें, सुविधाएँ, रेटिंग और घर के नियम।

डेटावेब स्क्रैपिंग

मिलती-जुलती skills