Skip to content

fix(facebook): support current feed DOM - #2453

Open
miakh wants to merge 1 commit into
jackwener:mainfrom
miakh:fix/facebook-feed-current-dom
Open

miakh wants to merge 1 commit into
jackwener:mainfrom
miakh:fix/facebook-feed-current-dom

Conversation

@miakh

@miakh miakh commented Sep 2, 2026

Copy link
Copy Markdown

Summary

  • recognize current Actions for this post by <author> controls
  • exclude comment articles, authorless suggestions, reels, and page chrome
  • keep walking past permalink-only headers to include sibling post bodies
  • support group-scoped author links and current injected formatting/decoy blocks

Verification

  • npm run build
  • npm run typecheck
  • npm run dev -- validate facebook (14 commands, 0 errors/warnings)
  • npm test -- --run clis/facebook/feed.test.js --reporter=dot (22 passed)
  • live read-only checks against the current Facebook feed returned top-level posts with correct authors and clean content
  • full npm test: 7,320 passed and 4 unrelated tests hit the 5s timeout under the parallel runner; all four affected files passed when rerun individually (88 tests)

No account data or captured Facebook markup is included in the fixtures.

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.

1 participant