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

x-tweet-by-url

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

यह स्किल X या Twitter का लिंक लेती है और उस पेज पर दिखने वाले ट्वीट लौटाती है। यह उन लोगों के लिए है जिनके पास पहले से लिंक है और जो तरीका चुने बिना उसके पीछे का डेटा चाहते हैं।

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

  • ✓जब आपके पास X खोज का लिंक है और आपको उसके ट्वीट सूची में चाहिए।
  • ✓जब आपके पास किसी एक ट्वीट का लिंक है और आपको उसका विवरण चाहिए।
  • ✓जब आपके पास X लिस्ट का लिंक है और आपको उसमें दिखने वाले ट्वीट चाहिए।

Skill का लिंक

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

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

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

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

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

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

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

“यह एक X खोज का लिंक है। इसमें दिखने वाले ट्वीट, लेखकों और एंगेजमेंट की गिनती के साथ दीजिए।”

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

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

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

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

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

X — Tweets by URL

Any X URL (search, profile, single tweet, list) → normalized list of tweets matching that URL's timeline.

Language

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

Objective

Accept any X URL as input, automatically detect which timeline endpoint it triggers, navigate to it, and return structured per-tweet data with pagination cursors. This unifies search, profile, single-tweet conversation, and list extraction under one entry point.

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 → logged in, continue
  • "Sign in" / "Log in" prompt visible → not logged in, inform the user 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 already shown to the user, never bypassing authentication. The browser's own JS signs the GraphQL request; the Skill triggers it via URL navigation and reads the response from network traffic. Python scripts under scripts/ only classify URLs and parse responses — they do not call X directly. Run them through the bash tool.

Network Capture: tweets via input URL

Step 1 — classify the URL to determine which GraphQL endpoint will be triggered and which --source to pass to the parser:

META=$(python scripts/classify-url.py '{url}')

classify-url.py outputs a JSON object with fields:

  • normalized_url: the URL with twitter.com rewritten to x.com.
  • kind: one of search, user_tweets, user_replies, user_media, tweet_detail, list, unknown.
  • endpoint: the GraphQL endpoint name to filter by (SearchTimeline / UserTweets / UserTweetsAndReplies / UserMedia / TweetDetail / ListLatestTweetsTimeline).
  • extract_source: the --source value to pass to parse-tweets.py (search / user_tweets / user_replies / user_media / tweet_detail / list).
  • params: detected path parameters (handle, tweet_id, list_id) when applicable.

If kind == "unknown", report to the user that the URL is not a supported X timeline type and stop.

Step 2 — navigate and capture the first page:

  1. network requests --clear
  2. navigate "$(echo "$META" | python -c "import sys,json;print(json.load(sys.stdin)['normalized_url'])")"
  3. wait stable --timeout 25000 (timeout is normal on X; proceed)
  4. Let EP = endpoint from $META. network requests --type xhr,fetch --filter "$EP" → take the latest entry's request_id.
  5. network request <request_id> → save to tmp/x-url-page-1.txt.
  6. Let SRC = extract_source from $META. python scripts/parse-tweets.py --json-file tmp/x-url-page-1.txt --source "$SRC".

Endpoint characteristic: URL contains /i/api/graphql/<hash>/<endpoint-name>. The query hash rotates; always filter by name.

Step 3 — paginate via scroll (skip when kind == "tweet_detail" and only the focal tweet is required; keep paginating when collecting the full reply thread):

  1. network requests --clear
  2. scroll down --amount 5000
  3. wait stable --timeout 10000
  4. network requests --type xhr,fetch --filter "$EP" → newest entry's request_id
  5. network request <request_id> → save to tmp/x-url-page-N.txt
  6. python scripts/parse-tweets.py --json-file tmp/x-url-page-N.txt --source "$SRC"

Repeat Step 3 until any termination condition is met:

  • Accumulated unique tweet count reaches the user's target.
  • count == 0 on the current page.
  • cursor_bottom is unchanged across two consecutive pages.

Error handling: if no matching request appears after a scroll, wait 3 s and retry once. If kind == "search" and the page shows a captcha challenge (detect via state showing an "Authorize access to your account" or "Help us keep X safe" panel), pause and ask the user. If kind == "list" and the response's `data.list.twe

अक्सर पूछे जाने वाले सवाल

कौन से लिंक काम करते हैं?

विवरण में खोज पेज, प्रोफ़ाइल, एक ट्वीट और लिस्ट की टाइमलाइन शामिल हैं।

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

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

क्या मैं इसे कई लिंक दे सकता हूँ?

हाँ, विवरण के अनुसार यह X और Twitter के मिले-जुले लिंक स्वीकार करती है।

जानकारी

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

Scrapes tweets from any X (Twitter) URL — search results, user profile, single tweet detail, or list timeline — and returns normalized per-tweet data with text, author, engagement counts, media, hashtags, mentions, and cursor for pagination. Use when user mentions X URL scraper, Twitter URL scraper, scrape from URL, given an X link, given a Twitter link, accept mixed X URLs, accept mixed Twitter URLs, search URL, profile URL, list URL, status URL, tweet detail URL, scrape startUrls Twitter, X startUrls, mixed batch of Twitter links, paste links and scrape, mass URL extraction X, mass URL extra

repo: browser-act/skills

लोकप्रियता

GitHub स्टार
6.3k
रैंकिंग में स्थान
#14320
लाइसेंस
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