[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M74BFDTXTK9NZCVMP0ZQZJBY":3,"skill-same:01M74BFDTXTK9NZCVMP0ZQZJBY":56},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":26,"commitSha":27,"skillDirectory":28,"forksCount":29,"repositoryHtmlUrl":30,"repositoryHomepageUrl":31,"ownerHtmlUrl":32,"ownerBlogUrl":33,"ownerDescription":34,"updatedAt":35,"install":36,"resources":49},"01M74BFDTXTK9NZCVMP0ZQZJBY","fb-carousel-cap-4",null,"Meta Graph \u002Ffeed?attached_media= silently 500s with N>=5 photos + a long caption — cap defensively at 4 inside any FB Page carousel publisher","CarlosCaPe\u002Foctorato","CarlosCaPe","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F39838249?v=4","01M72WXX4ZRR8MBH1EP1QND2FQ","dataqbs","01M72WXX5NA7YCKRSJ54GW1GQ8",18,"MIT","https:\u002F\u002Fgithub.com\u002FCarlosCaPe\u002Foctorato\u002Fblob\u002Fmaster\u002Fskills\u002Ffb-carousel-cap-4\u002FSKILL.md",[],[],"2026-11-11 15:11:14",false,"---\nname: fb-carousel-cap-4\ndescription: \"Meta Graph \u002Ffeed?attached_media= silently 500s with N>=5 photos + a long caption — cap defensively at 4 inside any FB Page carousel publisher\"\nmetadata:\n  short-description: \"Cap FB Page photo carousels at 4 photos to avoid the undocumented Meta 500 'reduce the amount of data' error\"\n---\n\n# FB Carousel Cap = 4\n\n## What\n\nThe Meta Graph API endpoint for publishing a multi-photo carousel to a Facebook\nPage —\n\n```\nPOST \u002F{page-id}\u002Ffeed\n  ?attached_media[0]={\"media_fbid\":\"\u003Cphoto_id_1>\"}\n  &attached_media[1]={\"media_fbid\":\"\u003Cphoto_id_2>\"}\n  ...\n  &message=\u003Clong caption>\n```\n\nreturns\n\n```json\n{\n  \"error\": {\n    \"message\": \"Please reduce the amount of data you're asking for, then retry your request\",\n    \"type\": \"OAuthException\",\n    \"code\": 1,\n    \"fbtrace_id\": \"...\"\n  }\n}\n```\n\nwith `HTTP 500` once the combined request size exceeds an **undocumented**\nMeta threshold. In practice the cliff sits around **5+ unpublished photo IDs\nwith a caption ≥ ~1 KB** (a typical Spanish real-estate caption with a\nWhatsApp `wa.me` link is already in the 1–2 KB range).\n\nSingle-photo posts and 4-photo carousels with the same caption length succeed.\n\n## Why this matters\n\n- The error message is **misleading** (\"reduce the amount of data you're\n  asking for\") — the operator interprets it as a quota\u002Frate-limit issue and\n  burns hours chasing rate limits, when the real fix is a payload-size cap.\n- Meta has **no documented limit** on `attached_media[]`. Public docs say \"up\n  to 10\" but in practice the realistic ceiling depends on caption size and\n  any URL-encoded payload (deep-link URLs, hashtags with emoji).\n- The 500 happens **after** the photos are uploaded as unpublished, so the\n  retry surface is awkward: the photos exist orphaned in the Page library\n  and need cleanup or re-use.\n\n## Fix\n\nDefensive cap inside the publisher function:\n\n```typescript\n\u002F\u002F Undocumented Meta limit: \u002Ffeed?attached_media= 500s with ~5+ photos\n\u002F\u002F + ~1.5KB caption with URL-encoded WhatsApp prefill. 4 is the safe cap.\nconst FB_CAROUSEL_MAX_PHOTOS = 4;\n\nasync function publishFBPageCarousel(\n  pageId: string,\n  token: string,\n  imageUrls: string[],\n  caption: string,\n) {\n  const capped = imageUrls.slice(0, FB_CAROUSEL_MAX_PHOTOS);\n  \u002F\u002F ... upload each capped[i] as unpublished, collect IDs, POST \u002Ffeed\n}\n```\n\nThis is **defense in depth** — even if upstream enqueues 10 image URLs,\nthe publisher refuses to send more than 4. Posts already scheduled with\nN>4 will publish normally on the next attempt.\n\n## When the cap is wrong\n\nIf you genuinely need to ship 10+ photos:\n\n1. **Albums instead of carousels** — `POST \u002F{page-id}\u002Falbums` then add photos\n   one-by-one to that album. Different API, no `attached_media` size limit.\n2. **Comment chain** — main post with first 4, then add remaining photos in\n   pinned comments. Works but breaks the \"swipe carousel\" UX.\n3. **Shorter caption** — caption + URL-encoded `wa.me` link is the usual\n   payload bloat. Move the link to a pinned comment and the threshold lifts\n   to ~7-8 photos in practice. Still not 10.\n\n## Diagnostic when this happens\n\n1. Capture the exact request body sent to `\u002Ffeed`. If `attached_media` has\n   5+ entries AND caption length > ~800 chars → almost certainly this.\n2. Reproduce with the same photos but caption `\"test\"` — succeeds → it's\n   payload size, not the photos themselves.\n3. Reproduce with same caption but 1 photo → succeeds → confirms the cap.\n\n## Lessons Learned\n\n\u003C!-- Date · Caption length · Photo count · What threshold hit -->\n","# FB Carousel Cap = 4\n\n## What\n\nThe Meta Graph API endpoint for publishing a multi-photo carousel to a Facebook\nPage —\n\n```\nPOST \u002F{page-id}\u002Ffeed\n  ?attached_media[0]={\"media_fbid\":\"\u003Cphoto_id_1>\"}\n  &attached_media[1]={\"media_fbid\":\"\u003Cphoto_id_2>\"}\n  ...\n  &message=\u003Clong caption>\n```\n\nreturns\n\n```json\n{\n  \"error\": {\n    \"message\": \"Please reduce the amount of data you're asking for, then retry your request\",\n    \"type\": \"OAuthException\",\n    \"code\": 1,\n    \"fbtrace_id\": \"...\"\n  }\n}\n```\n\nwith `HTTP 500` once the combined request size exceeds an **undocumented**\nMeta threshold. In practice the cliff sits around **5+ unpublished photo IDs\nwith a caption ≥ ~1 KB** (a typical Spanish real-estate caption with a\nWhatsApp `wa.me` link is already in the 1–2 KB range).\n\nSingle-photo posts and 4-photo carousels with the same caption length succeed.\n\n## Why this matters\n\n- The error message is **misleading** (\"reduce the amount of data you're\n  asking for\") — the operator interprets it as a quota\u002Frate-limit issue and\n  burns hours chasing rate limits, when the real fix is a payload-size cap.\n- Meta has **no documented limit** on `attached_media[]`. Public docs say \"up\n  to 10\" but in practice the realistic ceiling depends on caption size and\n  any URL-encoded payload (deep-link URLs, hashtags with emoji).\n- The 500 happens **after** the photos are uploaded as unpublished, so the\n  retry surface is awkward: the photos exist orphaned in the Page library\n  and need cleanup or re-use.\n\n## Fix\n\nDefensive cap inside the publisher function:\n\n```typescript\n\u002F\u002F Undocumented Meta limit: \u002Ffeed?attached_media= 500s with ~5+ photos\n\u002F\u002F + ~1.5KB caption with URL-encoded WhatsApp prefill. 4 is the safe cap.\nconst FB_CAROUSEL_MAX_PHOTOS = 4;\n\nasync function publishFBPageCarousel(\n  pageId: string,\n  token: string,\n  imageUrls: string[],\n  caption: string,\n) {\n  const capped = imageUrls.slice(0, FB_CAROUSEL_MAX_PHOTOS);\n  \u002F\u002F ... upload each capped[i] as unpublished, collect IDs, POST \u002Ffeed\n}\n```\n\nThis is **defense in depth** — even if upstream enqueues 10 image URLs,\nthe publisher refuses to send more than 4. Posts already scheduled with\nN>4 will publish normally on the next attempt.\n\n## When the cap is wrong\n\nIf you genuinely need to ship 10+ photos:\n\n1. **Albums instead of carousels** — `POST \u002F{page-id}\u002Falbums` then add photos\n   one-by-one to that album. Different API, no `attached_media` size limit.\n2. **Comment chain** — main post with first 4, then add remaining photos in\n   pinned comments. Works but breaks the \"swipe carousel\" UX.\n3. **Shorter caption** — caption + URL-encoded `wa.me` link is the usual\n   payload bloat. Move the link to a pinned comment and the threshold lifts\n   to ~7-8 photos in practice. Still not 10.\n\n## Diagnostic when this happens\n\n1. Capture the exact request body sent to `\u002Ffeed`. If `attached_media` has\n   5+ entries AND caption length > ~800 chars → almost certainly this.\n2. Reproduce with the same photos but caption `\"test\"` — succeeds → it's\n   payload size, not the photos themselves.\n3. Reproduce with same caption but 1 photo → succeeds → confirms the cap.\n\n## Lessons Learned\n\n\u003C!-- Date · Caption length · Photo count · What threshold hit -->\n",{"name":5,"metadata":24,"description":7},{"short-description":25},"Cap FB Page photo carousels at 4 photos to avoid the undocumented Meta 500 'reduce the amount of data' error","master","b4414608cd5a3f87d1525b518f1c6add8363540d","skills\u002Ffb-carousel-cap-4",6,"https:\u002F\u002Fgithub.com\u002FCarlosCaPe\u002Foctorato","https:\u002F\u002Fwww.dataqbs.com\u002Foctorato","https:\u002F\u002Fgithub.com\u002FCarlosCaPe","www.dataqbs.com"," AI-powered data engineering\r\n& consulting\r\n\r\nWe build data platforms that turn complexity into clarity — from cloud architecture and ETL pipelines to AI-driven","2026-11-14 00:21:00",{"source":8,"skillName":5,"commands":37,"prompt":47,"zipAvailable":48},[38,41,44],{"tool":39,"command":40},"npx","npx skills add CarlosCaPe\u002Foctorato --skill fb-carousel-cap-4",{"tool":42,"command":43},"bunx","bunx skills add CarlosCaPe\u002Foctorato --skill fb-carousel-cap-4",{"tool":45,"command":46},"pnpm","pnpm dlx skills add CarlosCaPe\u002Foctorato --skill fb-carousel-cap-4","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FCarlosCaPe\u002Foctorato\u002Fblob\u002Fmaster\u002Fskills\u002Ffb-carousel-cap-4\u002FSKILL.md",true,[50],{"path":51,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":54,"sourceHtmlUrl":55},"skill.json","REFERENCE","参考文档",259,"https:\u002F\u002Fgithub.com\u002FCarlosCaPe\u002Foctorato\u002Fblob\u002Fmaster\u002Fskills\u002Ffb-carousel-cap-4\u002Fskill.json",[57,66,74,81,89,97],{"skillNo":58,"name":59,"nameZh":6,"description":60,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":61,"licenseFileUrl":62,"sourceHtmlUrl":63,"categories":64,"keywords":65,"publishedAt":19},"01M74EVAA4A4B4AKR5TT732GP4","yeet","Use only when the user explicitly asks to stage, commit, push, and open a GitHub pull request in one flow using the GitHub CLI (`gh`).","Apache-2.0","https:\u002F\u002Fgithub.com\u002FCarlosCaPe\u002Foctorato\u002Fblob\u002Fmaster\u002Fskills\u002Fyeet\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FCarlosCaPe\u002Foctorato\u002Fblob\u002Fmaster\u002Fskills\u002Fyeet\u002FSKILL.md",[],[],{"skillNo":67,"name":68,"nameZh":6,"description":69,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":61,"licenseFileUrl":70,"sourceHtmlUrl":71,"categories":72,"keywords":73,"publishedAt":19},"01M74EV4WMRDKP2NQS4YWR8PXH","wrangler","Cloudflare Workers CLI for deploying, developing, and managing Workers, KV, R2, D1, Vectorize, Hyperdrive, Workers AI, Containers, Queues, Workflows, Pipelines, and Secrets Store. Load before running wrangler commands to ensure correct syntax and best practices. Biases towards retrieval from Cloudflare docs over pre-trained knowledge.","https:\u002F\u002Fgithub.com\u002FCarlosCaPe\u002Foctorato\u002Fblob\u002Fmaster\u002Fskills\u002Fwrangler\u002FLICENSE","https:\u002F\u002Fgithub.com\u002FCarlosCaPe\u002Foctorato\u002Fblob\u002Fmaster\u002Fskills\u002Fwrangler\u002FSKILL.md",[],[],{"skillNo":75,"name":76,"nameZh":6,"description":77,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":19},"01M74EV05MHTXKEXD4B2QJEYTF","workspace-skill-discovery","Discover and include ALL skills across the workspace — not just global ones. Use at the start of every session or when the user asks about available skills. Ensures project-level skills (under .claude\u002Fskills\u002F or skills\u002F in any repo) are never missed.","https:\u002F\u002Fgithub.com\u002FCarlosCaPe\u002Foctorato\u002Fblob\u002Fmaster\u002Fskills\u002Fworkspace-skill-discovery\u002FSKILL.md",[],[],{"skillNo":82,"name":83,"nameZh":6,"description":84,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":61,"licenseFileUrl":85,"sourceHtmlUrl":86,"categories":87,"keywords":88,"publishedAt":19},"01M74ETV78525B4VP2F28Z6NRD","workers-best-practices","Reviews and authors Cloudflare Workers code against production best practices. Load when writing new Workers, reviewing Worker code, configuring wrangler.jsonc, or checking for common Workers anti-patterns (streaming, floating promises, global state, secrets, bindings, observability). Biases towards retrieval from Cloudflare docs over pre-trained knowledge.","https:\u002F\u002Fgithub.com\u002FCarlosCaPe\u002Foctorato\u002Fblob\u002Fmaster\u002Fskills\u002Fworkers-best-practices\u002FLICENSE","https:\u002F\u002Fgithub.com\u002FCarlosCaPe\u002Foctorato\u002Fblob\u002Fmaster\u002Fskills\u002Fworkers-best-practices\u002FSKILL.md",[],[],{"skillNo":90,"name":91,"nameZh":6,"description":92,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":61,"licenseFileUrl":93,"sourceHtmlUrl":94,"categories":95,"keywords":96,"publishedAt":19},"01M74ETR75NF67WGVEN7288ACV","winui-app","Create, build and design WinUI 3 desktop apps with C# and the Windows App SDK following Microsoft's official guidance and CommunityToolkit. Covers XAML, navigation, theming, accessibility and deployment.","https:\u002F\u002Fgithub.com\u002FCarlosCaPe\u002Foctorato\u002Fblob\u002Fmaster\u002Fskills\u002Fwinui-app\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FCarlosCaPe\u002Foctorato\u002Fblob\u002Fmaster\u002Fskills\u002Fwinui-app\u002FSKILL.md",[],[],{"skillNo":98,"name":99,"nameZh":6,"description":100,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":101,"categories":102,"keywords":103,"publishedAt":19},"01M74ETJFRNPPNSQZ36C6HD6CW","windows-brain-script-portability","Scripts in ~\u002F.claude\u002Fscripts\u002F that run on a Windows brain: use the python3.cmd shim and not bare python3, and reconfigure stdout to UTF-8 if you print symbols. Use it when writing a brain script or triaging a Windows-only crash.","https:\u002F\u002Fgithub.com\u002FCarlosCaPe\u002Foctorato\u002Fblob\u002Fmaster\u002Fskills\u002Fwindows-brain-script-portability\u002FSKILL.md",[],[]]