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

x-tweet-by-handle

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

यह स्किल X यूज़र की प्रोफ़ाइल टाइमलाइन के ट्वीट पढ़ती है और हर एक का विवरण लौटाती है। यह मार्केटर्स और शोधकर्ताओं के लिए है जो किसी अकाउंट की पोस्ट पर नज़र रखना चाहते हैं।

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

  • ✓जब आप किसी खास X अकाउंट के हाल के ट्वीट इकट्ठा करना चाहते हैं।
  • ✓जब आपको किसी अकाउंट की केवल मीडिया पोस्ट देखनी हैं।
  • ✓जब आपको किसी अकाउंट के लिखे जवाब उसके ट्वीट के साथ चाहिए।

Skill का लिंक

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

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

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

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

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

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

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

“X अकाउंट @examplebrand के आखिरी 50 ट्वीट एंगेजमेंट की गिनती और मीडिया के साथ दीजिए।”

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

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

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

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

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

X — Tweets by Handle

X handle + timeline mode → normalized list of that user's tweets (or replies / media-only) with author, engagement, media, cursor.

Language

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

Objective

Collect tweets from one or more X user profile timelines, selectable between the default tweets tab, the tweets-and-replies tab, and the media-only tab, returning structured per-tweet data and pagination cursors.

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 build URLs and parse responses — they do not call X directly. Run them through the bash tool.

Network Capture: profile timeline (tweets / replies / media)

Step 1 — build the profile URL for the desired mode:

URL=$(python scripts/build-profile-url.py '{handle}' --mode {mode})

Parameters:

  • handle (positional): X handle without @, case-insensitive.
  • --mode: one of tweets (default — triggers UserTweets), replies (triggers UserTweetsAndReplies), media (triggers UserMedia).

Step 2 — navigate and capture the first page:

  1. network requests --clear
  2. navigate "$URL"
  3. wait stable --timeout 25000 (timeout is normal on X; proceed even if it fires)
  4. Determine the endpoint name to filter by — UserTweets, UserTweetsAndReplies, or UserMedia matching the chosen mode:
    • network requests --type xhr,fetch --filter UserTweets (when --mode tweets)
    • network requests --type xhr,fetch --filter UserTweetsAndReplies (when --mode replies)
    • network requests --type xhr,fetch --filter UserMedia (when --mode media)
  5. Take the latest matching entry's request_id.
  6. network request <request_id> → save full output to a file (e.g. tmp/x-profile-page-1.txt).
  7. Parse with the matching --source flag:
    • python scripts/parse-tweets.py --json-file tmp/x-profile-page-1.txt --source user_tweets (for tweets)
    • python scripts/parse-tweets.py --json-file tmp/x-profile-page-1.txt --source user_replies (for replies)
    • python scripts/parse-tweets.py --json-file tmp/x-profile-page-1.txt --source user_media (for media)

Endpoint characteristic: URL contains /i/api/graphql/<hash>/UserTweets (or UserTweetsAndReplies / UserMedia). The query hash rotates; always filter by name.

Step 3 — paginate via scroll:

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

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 the page redirects to a "This account doesn't exist" or "Account suspended" view (visible in state output), terminate with an explanatory result. Pinned tweets appear at the top of the first page — they are normal tweets and are included in the output; de-duplicate by id when merging if a pinned tweet would also appear later in chronological order.

Output exa

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

कौन से मोड चुन सकते हैं?

आप केवल ट्वीट, ट्वीट और जवाब, या केवल मीडिया में से चुन सकते हैं।

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

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

क्या यह और ट्वीट लोड कर सकती है?

हाँ, यह एक कर्सर लौटाती है ताकि आप वहीं से आगे बढ़ सकें जहाँ यह रुकी थी।

जानकारी

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

Scrapes tweets from an X (Twitter) user profile timeline given a handle, with selectable mode: tweets, tweets+replies, or media-only. Returns normalized per-tweet data including text, author profile, engagement counts, media, hashtags, mentions, and cursor for pagination. Use when user mentions X user tweets, Twitter user tweets, profile timeline, user feed, @handle tweets, scrape Twitter user, scrape X account, get all tweets from a user, scrape user timeline, download user posts, export tweets from user, with_replies tab, replies tab Twitter, media tab Twitter, photos of user Twitter, videos

repo: browser-act/skills

लोकप्रियता

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