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 पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
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 oftweets(default — triggersUserTweets),replies(triggersUserTweetsAndReplies),media(triggersUserMedia).
Step 2 — navigate and capture the first page:
network requests --clearnavigate "$URL"wait stable --timeout 25000(timeout is normal on X; proceed even if it fires)- Determine the endpoint name to filter by —
UserTweets,UserTweetsAndReplies, orUserMediamatching 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)
- Take the latest matching entry's
request_id. network request <request_id>→ save full output to a file (e.g.tmp/x-profile-page-1.txt).- Parse with the matching
--sourceflag:python scripts/parse-tweets.py --json-file tmp/x-profile-page-1.txt --source user_tweets(fortweets)python scripts/parse-tweets.py --json-file tmp/x-profile-page-1.txt --source user_replies(forreplies)python scripts/parse-tweets.py --json-file tmp/x-profile-page-1.txt --source user_media(formedia)
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:
network requests --clearscroll down --amount 5000wait stable --timeout 10000network requests --type xhr,fetch --filter <EndpointName>→ take the newest entry'srequest_idnetwork request <request_id>→ save totmp/x-profile-page-N.txtpython 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 == 0on the current page.cursor_bottomis 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
कमेंट
- …
इस 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
xurl
394kयह आपके एजेंट को प्रमाणित xurl टूल से X पर पोस्ट करने, जवाब देने, खोजने और पढ़ने, सीधे संदेश भेजने और मीडिया अपलोड करने में मदद करती है।
connections-optimizer
280kयह आपके social network connections बेहतर बनाता है। यह बताता है किसे follow या unfollow करना है और अपने network को बढ़ाने के लिए personalized messages लिखने में मदद करता है।
content-engine
280kयह अलग-अलग platforms के लिए content बनाता है। X, LinkedIn और YouTube जैसे networks पर अच्छे काम करने वाले posts, scripts और content calendars तैयार करने में मदद करता है।