Skip to content

Download Facebook thumbnails from the CDN#11

Merged
stefan-burke merged 3 commits into
mainfrom
claude/run-facebook-downloader-wtvpR
Apr 23, 2026
Merged

Download Facebook thumbnails from the CDN#11
stefan-burke merged 3 commits into
mainfrom
claude/run-facebook-downloader-wtvpR

Conversation

@stefan-burke
Copy link
Copy Markdown
Member

Summary

  • Replaces the hand-picked ride-photo mapping in scripts/process-facebook-posts.js with actual post thumbnails fetched from the FB CDN.
  • Adds retry-with-backoff on 503/429, skips already-downloaded files, and stores images under images/facebook/<slug>.jpg.
  • Regenerates all 14 curated post JSON files to point at the new thumbnails.

Test plan

  • bun scripts/process-facebook-posts.js completes and writes all 14 JSON records
  • images/facebook/ contains 14 valid JPGs
  • bun run build still succeeds and the Facebook archive renders with the new thumbnails

Generated by Claude Code

claude added 3 commits April 23, 2026 22:41
- Add System page with the real touring-grade sound spec, FX sync
  explanation, lighting rig, structural details and ADIPS callout.
- Add Build Journey page tracing the build from trailer-wrapped factory
  shots through custom fabrication, ADIPS pass, first runs and the
  Threshold Active takeover.
- Add Updates page backed by a curated facebook-posts/ directory of
  JSON social-card entries (consumed by the blocks system's socials
  block).
- Sharpen the home page: stats strip (arms/axes/subs/smoke machines),
  features rewritten with concrete specs, split-image teasers pointing
  at the System and Build pages, recent-drops socials strip.
- Contact page: replace plain markdown link list with icon-links block.
- Add scripts/process-facebook-posts.js to regenerate the socials JSON
  from the raw archive (date interpolation from video publish_time
  anchors; manual thumbnail pairing with existing ride photos since the
  FB CDN URLs expire).

https://claude.ai/code/session_01Us19jzizCanX7utk5LovZm
Replaces the hand-picked mapping of ride photos with actual post thumbnails
pulled from the FB CDN. Retries with backoff on 503/429, skips already-
downloaded files, and stores images under images/facebook/ keyed by slug.
Video posts expose a small p526x296 variant at image.uri and a much larger
s960x960 variant at thumbnail / preferred_thumbnail.image.uri. Reorder
pickMediaUrl so video covers come through at 960px instead of 526px.
@stefan-burke stefan-burke merged commit df60f51 into main Apr 23, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants