跳到正文
Skillpedia
社交媒体6.3k · #14314

threads-user-posts

它能做什么

这项技能读取 Threads 用户个人主页上的帖子,并返回每条帖子及其互动详情。适合想跟踪某个账号发布内容的营销人员和分析人员。

适用场景

  • ✓当你想保存某个 Threads 账号的最近帖子时。
  • ✓当你需要查看某个 Threads 用户帖子的互动数据的时候。
  • ✓当你想监测某个 Threads 账号的发帖频率时。

技能链接

https://github.com/browser-act/skills/blob/main/solutions/social-listening/threads-user-posts/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/browser-act/skills/blob/main/solutions/social-listening/threads-user-posts/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“请帮我获取 Threads 账号 @examplecreator 最近 30 条帖子,并附上点赞数和回复数。”

每周 5 个新技能,1 分钟读完。

工作原理

这项技能会在你的浏览器中打开该用户的 Threads 个人主页,并读取页面中嵌入的帖子数据。它可以滚动页面加载更多帖子,并返回每条帖子的正文、数据和媒体信息。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Threads — User Posts

username → list of public posts with engagement metrics (SSR + scroll pagination)

Language

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

Objective

Extract public posts from a given Threads user's profile page using SSR-embedded JSON data, with optional scroll-triggered pagination to load more posts.

Prerequisites

  • A browser is open and connected via browser-act
  • Login recommended: Threads enforces a login wall on profile pages in most regions as of mid-2026. A logged-in browser session is required for reliable access. Unauthenticated access via US-based proxies may work in some configurations but is not guaranteed.

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 Threads has been confirmed in the current session → skip this step.

Otherwise: navigate https://www.threads.com and check page state:

  • User avatar or username visible at top → logged in, continue
  • "Log in" / "Sign up" buttons visible → not logged in, inform the user that login is needed, assist completing the login flow via the Threads login page

If not logged in and user cannot log in → the capability may still work on some proxy/IP configurations; attempt navigate https://www.threads.com/@{username} and check if profile content loads. If the page redirects to /login/, terminate and inform the user that a logged-in session is required.

Capability Components

This Skill's operational boundary = what the user can manually do in their browser. It only reads data already displayed to the user on the page. JS code is encapsulated in Python files under the scripts/ directory, invoked via eval "$(python scripts/xxx.py {params})". $(...) is bash syntax; it is recommended to use the bash tool for execution.

SSR: Extract posts from profile page (initial load)

Navigate to the user's profile page first, then extract all posts embedded in the initial page HTML:

  1. navigate https://www.threads.com/@{username}
  2. wait stable
  3. eval "$(python scripts/extract-posts.py)"

Output example:

{
  "posts": [
    {
      "id": "3936653356768062022",          // post internal ID (pk)
      "code": "DKmzN8wJzFG",               // post short code for URL
      "url": "https://www.threads.com/@zuck/post/DKmzN8wJzFG",  // direct post link
      "text": "Excited to share...",        // post text content, null if no caption
      "taken_at": 1780953646,              // Unix timestamp of post creation
      "like_count": 3583,                  // number of likes
      "reply_count": 3039,                 // number of direct replies
      "repost_count": 232,                 // number of reposts
      "quote_count": 114,                  // number of quote posts
      "reshare_count": 460,                // number of reshares
      "is_reply": false,                   // true if this post is a reply to another
      "media_type": 19,                    // 1=photo, 2=video, 8=carousel, 19=text-only
      "has_media": false,                  // true if post contains image/video/carousel
      "user": {
        "pk": "63055343223",              // Threads-specific user ID
        "username": "zuck",
        "full_name": "Mark Zuckerberg",
        "is_verified": true
      }
    }
  ],
  "count": 4,                             // number of posts in this batch
  "page_info": {
    "end_cursor": "QVFES...",             // cursor for next page (null when no more)
    "has_next_page": true,                // whether more posts are available
    "has_previous_page": false,
    "start_cursor": null
  }
}

Error handling: If error: true is returned, check that the profile page was fully loaded (navigate and wait stable completed without timeout). If mediaData not found, the page may have redirected to a login wall or the username is invalid.

DOM: Scroll to trigger more posts

When page_info.has_next_page is true, scroll the page to trigger GraphQL auto-load:

eval "$(python scripts/scroll-load-more.py)"

Then wait stable and read the new batch from network traffic:

network requests --type xhr,fetch --filter threads.com

Find the `POST https://www.threads.com/graphql

常见问题

我需要登录 Threads 吗?

需要。描述中说明,要稳定访问个人主页,需要已登录的浏览器会话。

它能加载第一页以外的帖子吗?

可以。它可以滚动个人主页以加载更多帖子。

访问一定能成功吗?

不能。描述中指出,没有登录时无法保证能够访问。

详情

作者的原始描述

Fetches public posts from a Threads user's profile page, extracting post text, engagement metrics, and media info from SSR-embedded JSON. Use when user asks to scrape Threads posts, get someone's Threads feed, pull posts from a Threads account, collect Threads content by username, download Threads user posts, extract Threads profile posts, monitor a Threads user's activity, retrieve recent posts from a Threads handle, gather Threads post data for a creator, or fetch all posts from a specific Threads profile.

repo: browser-act/skills

热度

GitHub 星标
6.3k
排名
#14314
许可证
MIT
更新时间
2026/8/24

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能