[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7ECZ2ZYB277S6DPW9EQG3GF":3,"skill-same:01M7ECZ2ZYB277S6DPW9EQG3GF":49},{"skillNo":4,"name":5,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":20,"frontMatter":21,"refName":22,"commitSha":23,"skillDirectory":24,"forksCount":13,"repositoryHtmlUrl":25,"repositoryHomepageUrl":6,"ownerHtmlUrl":26,"ownerBlogUrl":6,"ownerDescription":27,"updatedAt":28,"install":29,"resources":42},"01M7ECZ2ZYB277S6DPW9EQG3GF","social-scraping",null,"jonahthan433\u002FCortexOS","jonahthan433","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F211465495?v=4","01M7ECH9HPHGA89DCXHHJBTS3C","jonah.ai","01M7ECH9JCEM45DZMWPT7148S1",0,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fjonahthan433\u002FCortexOS\u002Fblob\u002Fmain\u002Fskills\u002Fimported\u002Fpayments\u002Fsocial-scraping\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"# social-scraping\n\n# Social Media Scraping with StableSocial\n\nScrape profiles, posts, comments, followers, and search across TikTok, Instagram, Facebook, and Reddit. All endpoints cost $0.06 per call.\n\n## Setup\n\nSee [rules\u002Fgetting-started.md](rules\u002Fgetting-started.md) for installation and wallet setup.\n\n## Notes\nUse `npx agentcash@latest fetch` for paid POST triggers. Use `npx agentcash@latest fetch` for free GET polling.\n\nIMPORTANT: Use exact endpoint paths from the Quick Reference tables below. All paths include a platform prefix (e.g. `https:\u002F\u002Fstablesocial.dev\u002Fapi\u002Ftiktok\u002F...`).\n\n## How It Works: Async Two-Step Flow\n\nEvery request follows a **trigger-then-poll** pattern:\n\n### Step 1: Trigger (paid, $0.06)\n\n```bash\nnpx agentcash@latest fetch https:\u002F\u002Fstablesocial.dev\u002Fapi\u002Finstagram\u002Fprofile -m POST -b '{\"handle\": \"natgeo\"}'\n```\n\nReturns `202 Accepted` with a JWT token:\n```json\n{\"token\": \"eyJhbGciOiJIUzI1NiIs...\"}\n```\n\n### Step 2: Poll (free)\n\n```bash\nnpx agentcash@latest fetch \"https:\u002F\u002Fstablesocial.dev\u002Fapi\u002Fjobs?token=eyJhbGciOiJIUzI1NiIs...\"\n```\n\n- `{\"status\": \"pending\"}` — poll again in 3-5 seconds\n- `{\"status\": \"finished\", \"data\": {...}}` — data is ready\n- `{\"status\": \"failed\", \"error\": \"...\"}` — collection failed (not charged)\n\nTokens expire after 30 minutes. Jobs typically finish in 5-60 seconds.\n\n## Quick Reference — TikTok\n\n| Task | Endpoint | Depends On |\n|------|----------|------------|\n| Get profile | `https:\u002F\u002Fstablesocial.dev\u002Fapi\u002Ftiktok\u002Fprofile` | — |\n| Get posts | `https:\u002F\u002Fstablesocial.dev\u002Fapi\u002Ftiktok\u002Fposts` | profile |\n| Post comments | `https:\u002F\u002Fstablesocial.dev\u002Fapi\u002Ftiktok\u002Fpost-comments` | posts |\n| Comment replies | `https:\u002F\u002Fstablesocial.dev\u002Fapi\u002Ftiktok\u002Fcomment-replies` | post-comments |\n| Followers | `https:\u002F\u002Fstablesocial.dev\u002Fapi\u002Ftiktok\u002Ffollowers` | profile |\n| Following | `https:\u002F\u002Fstablesocial.dev\u002Fapi\u002Ftiktok\u002Ffollowing` | profile |\n| Search posts | `https:\u002F\u002Fstablesocial.dev\u002Fapi\u002Ftiktok\u002Fsearch` | — |\n| Search hashtag | `https:\u002F\u002Fstablesocial.dev\u002Fapi\u002Ftiktok\u002Fsearch-hashtag` | — |\n| Search profiles | `https:\u002F\u002Fstablesocial.dev\u002Fapi\u002Ftiktok\u002Fsearch-profiles` | — |\n| Search by music | `https:\u002F\u002Fstablesocial.dev\u002Fapi\u002Ftiktok\u002Fsearch-music` | — |\n\n**Input:** `{\"handle\": \"username\"}` for profile\u002Fposts\u002Ffollowers. `{\"query\": \"keyword\"}` for search.\n\n## Quick Reference — Instagram\n\n| Task | Endpoint | Depends On |\n|------|----------|------------|\n| Get profile | `https:\u002F\u002Fstablesocial.dev\u002Fapi\u002Finstagram\u002Fprofile` | — |\n| Get posts | `https:\u002F\u002Fstablesocial.dev\u002Fapi\u002Finstagram\u002Fposts` | profile |\n| Post comments | `https:\u002F\u002Fstablesocial.dev\u002Fapi\u002Finstagram\u002Fpost-comments` | posts |\n| Comment replies | `https:\u002F\u002Fstablesocial.dev\u002Fapi\u002Finstagram\u002Fcomment-replies` | post-comments |\n| Followers | `https:\u002F\u002Fstablesocial.dev\u002Fapi\u002Finstagram\u002Ffollowers` | profile |\n| Following | `https:\u002F\u002Fstablesocial.dev\u002Fapi\u002Finstagram\u002Ffollowing` | profile |\n| Stories | `https:\u002F\u002Fstablesocial.dev\u002Fapi\u002Finstagram\u002Fstories` | profile |\n| Highlights | `https:\u002F\u002Fstablesocial.dev\u002Fapi\u002Finstagram\u002Fhighlights` | profile |\n| Search posts | `https:\u002F\u002Fstablesocial.dev\u002Fapi\u002Finstagram\u002Fsearch` | — |\n| Search tags | `https:\u002F\u002Fstablesocial.dev\u002Fapi\u002Finstagram\u002Fsearch-tags` | — |\n\n**Input:** `{\"handle\": \"username\"}` for profile\u002Fposts\u002Ffollowers. `{\"query\": \"keyword\"}` for search.\n\n## Quick Reference — Facebook\n\n| Task | Endpoint | Depends On |\n|------|----------|------------|\n| Get profile | `https:\u002F\u002Fstablesocial.dev\u002Fapi\u002Ffacebook\u002Fprofile` | — |\n| Get posts | `https:\u002F\u002Fstablesocial.dev\u002Fapi\u002Ffacebook\u002Fposts` | profile |\n| Post comments | `https:\u002F\u002Fstablesocial.dev\u002Fapi\u002Ffacebook\u002Fpost-comments` | posts |\n| Comment replies | `https:\u002F\u002Fstablesocial.dev\u002Fapi\u002Ffacebook\u002Fcomment-replies` | post-comments |\n| Followers | `https:\u002F\u002Fstablesocial.dev\u002Fapi\u002Ffacebook\u002Ffollowers` | profile |\n| Following | `https:\u002F\u002Fstablesocial.dev\u002Fapi\u002Ffacebook\u002Ffollowing` | profile |\n| Search posts | `https:\u002F\u002Fstablesocial.dev\u002Fapi\u002Ffacebook\u002Fsearch` | — |\n| Search people | `https:\u002F\u002Fstablesocial.dev\u002Fapi\u002Ffacebook\u002Fsearch-people` | — |\n| Search pages | `https:\u002F\u002Fstablesocial.dev\u002Fapi\u002Ffacebook\u002Fsearch-pages` | — |\n| Search groups | `https:\u002F\u002Fstablesocial.dev\u002Fapi\u002Ffacebook\u002Fsearch-groups` | — |\n\n**Input:** `{\"handle\": \"username\"}` or `{\"profile_id\": \"id\"}` for profile. `{\"query\": \"keyword\"}` for search.\n\n## Quick Reference — Reddit\n\n| Task | Endpoint | Depends On |\n|------|----------|------------|\n| Get post | `https:\u002F\u002Fstablesocial.dev\u002Fapi\u002Freddit\u002Fpost` | — |\n| Post comments | `https:\u002F\u002Fstablesocial.dev\u002Fapi\u002Freddit\u002Fpost-comments` | post |\n| Get comment | `https:\u002F\u002Fstablesocial.dev\u002Fapi\u002Freddit\u002Fcomment` | — |\n| Search posts | `https:\u002F\u002Fstablesocial.dev\u002Fapi\u002Freddit\u002Fsearch` | — |\n| Search profiles | `https:\u002F\u002Fstablesocial.dev\u002Fapi\u002Freddit\u002Fsearch-profiles` | — |\n| Subreddit posts | `https:\u002F\u002Fstablesocial.dev\u002Fapi\u002Freddit\u002Fsubreddit` | — |\n\n**Input:** `{\"post_id\": \"id\"}` for post details. `{\"query\": \"keyword\"}` for search. `{\"subreddit\": \"name\"}` for subreddit.\n\n## Data Dependencies\n\nSome endpoints require a prior collection. For example, to get followers you must first trigger the profile:\n\n```bash\n# 1. Trigger profile collection\nnpx agentcash@latest fetch https:\u002F\u002Fstablesocial.dev\u002Fapi\u002Finstagram\u002Fprofile -m POST -b '{\"handle\": \"natgeo\"}'\n# Poll until finished...\n\n# 2. Now fetch followers (depends on profile)\nnpx agentcash@latest fetch https:\u002F\u002Fstablesocial.dev\u002Fapi\u002Finstagram\u002Ffollowers -m POST -b '{\"handle\": \"natgeo\"}'\n# Poll until finished...\n```\n\n## Pagination\n\nWhen results are paginated, the response includes `page_info.has_next_page` and a `cursor`. Pass the cursor to fetch the next page (each page is a new paid POST):\n\n```bash\nnpx agentcash@latest fetch https:\u002F\u002Fstablesocial.dev\u002Fapi\u002Ftiktok\u002Ffollowers -m POST -b '{\"handle\": \"username\", \"cursor\": \"abc123\"}'\n```\n\n## Key Parameters\n\n- `handle` \u002F `profile_id` — target account\n- `max_page_size` — results per page (default varies, max 100)\n- `max_followers` — how many followers to collect (default 500)\n- `max_posts` \u002F `max_results` — item limits (default 50)\n- `cursor` — pagination cursor from previous response\n- `order_by` — sort order: `date_desc`, `date_asc`, `id_desc`\n\n## Workflows\n\n### Profile Deep Dive\n\n- [ ] (Optional) Check balance: `npx agentcash@latest balance`\n- [ ] Trigger profile collection\n- [ ] Poll until finished\n- [ ] Trigger posts collection\n- [ ] Poll until finished\n- [ ] Optionally fetch comments, followers\n\n### Cross-Platform Search\n\n- [ ] Search same keyword across multiple platforms\n- [ ] Compare results and synthesize findings\n\n```bash\nnpx agentcash@latest fetch https:\u002F\u002Fstablesocial.dev\u002Fapi\u002Finstagram\u002Fsearch -m POST -b '{\"query\": \"brand name\"}'\nnpx agentcash@latest fetch https:\u002F\u002Fstablesocial.dev\u002Fapi\u002Ftiktok\u002Fsearch -m POST -b '{\"query\": \"brand name\"}'\nnpx agentcash@latest fetch https:\u002F\u002Fstablesocial.dev\u002Fapi\u002Freddit\u002Fsearch -m POST -b '{\"query\": \"brand name\"}'\n```\n\n### Influencer Analysis\n\n- [ ] Get profile on target platform\n- [ ] Fetch recent posts with engagement\n- [ ] Get follower list for audience analysis\n- [ ] Check comments for sentiment\n\n### Competitive Intelligence\n\n- [ ] Search for competitor on target platform\n- [ ] Get competitor posts and engagement\n- [ ] Monitor competitor mentions across platforms\n- [ ] Analyze audience sentiment via comments\n\n```bash\nnpx agentcash@latest fetch https:\u002F\u002Fstablesocial.dev\u002Fapi\u002Finstagram\u002Fprofile -m POST -b '{\"handle\": \"competitor\"}'\nnpx agentcash@latest fetch https:\u002F\u002Fstablesocial.dev\u002Fapi\u002Freddit\u002Fsearch -m POST -b '{\"query\": \"competitor name\"}'\n```\n\n## Cost Estimation\n\nAll endpoints are $0.06 per trigger call. Polling is free.\n\n| Task | Calls | Cost |\n|------|-------|------|\n| Single profile | 1 | $0.06 |\n| Profile + posts | 2 | $0.12 |\n| Full profile deep dive | 4-6 | $0.24-0.36 |\n| Cross-platform search (3 platforms) | 3 | $0.18 |\n| Competitor analysis | 4-8 | $0.24-0.48 |\n\n## vs social-intelligence Skill\n\nThe `social-intelligence` skill uses Reddit (stableenrich.dev). Use it for quick Reddit post lookups and discussions.\n\nUse `social-scraping` (this skill) when you need:\n- **TikTok, Instagram, Facebook, or Reddit** data (beyond basic Reddit search)\n- **Profiles, followers, following** — not just search\n- **Comments, replies, reactions** on posts\n- **Cross-platform** research\n",{},"main","38b32c99e7ed0b8e215d638e92cfa452c1ec3079","skills\u002Fimported\u002Fpayments\u002Fsocial-scraping","https:\u002F\u002Fgithub.com\u002Fjonahthan433\u002FCortexOS","https:\u002F\u002Fgithub.com\u002Fjonahthan433","AI Consultant","2026-10-24 05:13:39",{"source":7,"skillName":5,"commands":30,"prompt":40,"zipAvailable":41},[31,34,37],{"tool":32,"command":33},"npx","npx skills add jonahthan433\u002FCortexOS --skill social-scraping",{"tool":35,"command":36},"bunx","bunx skills add jonahthan433\u002FCortexOS --skill social-scraping",{"tool":38,"command":39},"pnpm","pnpm dlx skills add jonahthan433\u002FCortexOS --skill social-scraping","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fjonahthan433\u002FCortexOS\u002Fblob\u002Fmain\u002Fskills\u002Fimported\u002Fpayments\u002Fsocial-scraping\u002FSKILL.md",true,[43],{"path":44,"resourceType":45,"resourceTypeDesc":46,"sizeBytes":47,"sourceHtmlUrl":48},"skill.json","REFERENCE","参考文档",749,"https:\u002F\u002Fgithub.com\u002Fjonahthan433\u002FCortexOS\u002Fblob\u002Fmain\u002Fskills\u002Fimported\u002Fpayments\u002Fsocial-scraping\u002Fskill.json",[50,56,62,68,74,80],{"skillNo":51,"name":52,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":53,"categories":54,"keywords":55,"publishedAt":18},"01M7EDQZDQX3Q8Y7GCQX6KN9V7","opportunity-brief","https:\u002F\u002Fgithub.com\u002Fjonahthan433\u002FCortexOS\u002Fblob\u002Fmain\u002Fskills\u002Fsales\u002Fopportunity-brief\u002FSKILL.md",[],[],{"skillNo":57,"name":58,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":59,"categories":60,"keywords":61,"publishedAt":18},"01M7EDQYA0V9Y99VKBREJJ3MRT","morning-intel","https:\u002F\u002Fgithub.com\u002Fjonahthan433\u002FCortexOS\u002Fblob\u002Fmain\u002Fskills\u002Fresearch\u002Fmorning-intel\u002FSKILL.md",[],[],{"skillNo":63,"name":64,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":65,"categories":66,"keywords":67,"publishedAt":18},"01M7EDQVX1JVY0B6PDHKKGM19G","decision-brief","https:\u002F\u002Fgithub.com\u002Fjonahthan433\u002FCortexOS\u002Fblob\u002Fmain\u002Fskills\u002Fresearch\u002Fdecision-brief\u002FSKILL.md",[],[],{"skillNo":69,"name":70,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":71,"categories":72,"keywords":73,"publishedAt":18},"01M7EDQV1GENZAC2SZSD8KZ3GM","weekly-review","https:\u002F\u002Fgithub.com\u002Fjonahthan433\u002FCortexOS\u002Fblob\u002Fmain\u002Fskills\u002Fproductivity\u002Fweekly-review\u002FSKILL.md",[],[],{"skillNo":75,"name":76,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":18},"01M7EDQT2KETJ1Y3CGVN9EKW2J","system-health","https:\u002F\u002Fgithub.com\u002Fjonahthan433\u002FCortexOS\u002Fblob\u002Fmain\u002Fskills\u002Fops\u002Fsystem-health\u002FSKILL.md",[],[],{"skillNo":81,"name":82,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":18},"01M7EDQQN2JK3XPWMS1M4T0F3K","backup-restore","https:\u002F\u002Fgithub.com\u002Fjonahthan433\u002FCortexOS\u002Fblob\u002Fmain\u002Fskills\u002Fops\u002Fbackup-restore\u002FSKILL.md",[],[]]