Facebook Comet Photo Pagination Fix & Modern pfbid Collection Support
Fixes an issue where downloading Facebook profile photos archived only the initial 8 SSR images instead of the full photo set. Adds active Comet Relay GraphQL doc_ids, supports opaque pfbid app_collection tokens, decouples pagination from fb_dtsg, and adds cursor recovery.
Adaptations & Improvements
(2)LSD-Gated Pagination & Cursor Invalidation Recovery
Allows GraphQL pagination to proceed using LSD session tokens without strictly requiring fb_dtsg, and automatically recovers from stale initial cursors by retrying page 0 with null cursor.
Live Progress Overlay Feedback
Streams real-time photo count progress to the in-page download overlay as subsequent pages of photos are fetched.
Resolved Issues & Bug Fixes
(2)Updated Facebook Comet GraphQL Photo Pagination Doc IDs
Updates ProfileCometAppCollectionPhotosRendererPaginationQuery and CometPhotoRootContentQuery with active doc_ids (27028962643386672, 28913286951661382) to resolve document not found GraphQL errors.
Modern pfbid App Collection Token Support
Supports opaque pfbid app_collection tokens alongside legacy numeric IDs when extracting profile photos collections from Facebook Comet HTML.